dotfiles/fish/.config/fish/functions
Sanchayan Maity aab3d5bee3
fish: functions: Move HieDb helpers to functions
Using abbreviations for shell commands does not seem clean. They also
seem out of place along with other cabal abbreviations.

While at it, we also add a helper to nuke all Haskell build artefacts.
This is convenient instead of running cabal clean in every project or
relying on Kondo.

For deleting directories, we replace -delete with -exec rm -rv {} + or
-exec rm -rv {} \ which should delete directories recursively without
error. + at the end will result in rm -rv file1 file2 ... while using
\ will result in rm -rv file1; rm -rv file2; ...
2024-11-30 18:44:10 +05:30
..
b.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
c.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
cat.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
cdG.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
cdg.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
cdi.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
ddl.fish fish: functions: Add helper to list library dependencies 2022-11-07 16:26:23 +05:30
dotg.fish fish: functions/dotg: Do not add dot to output file name 2023-03-03 15:57:29 +05:30
dotP.fish Revert "fish: functions: Open dot graphs by default in xdot" 2022-12-30 13:26:21 +05:30
dotp.fish Revert "fish: functions: Open dot graphs by default in xdot" 2022-12-30 13:26:21 +05:30
dpw.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
fasttags.fish fish: functions: Execute fast-tags only if in a git project 2024-01-07 15:01:28 +05:30
ferror.fish fish: functions: Add alias for detecting errors in media with ffmpeg 2023-04-27 16:51:19 +05:30
finfo.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
fish_greeting.fish fish: Refactor fish shell configuration 2021-12-29 18:54:57 +05:30
fish_profile.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
fish_prompt.fish fish: functions/fish_prompt: Update prompt symbol for unknown upstream 2022-04-15 19:17:28 +05:30
fish_user_key_bindings.fish fish: Drop fzf key bindings 2024-09-27 19:01:30 +05:30
fstream.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gdba.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gdbp.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gdbr.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gdbt.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gdd.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
gdk.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
gdt.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
git_remote_toggle.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
gl.fish fish: functions/gl: Fix object ID ambiguous error 2024-07-16 19:52:20 +05:30
glmd.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
gm.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
grf.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gsl.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gst.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
gts.fish fish: functions/gts: Add a helper to get column of interest from log files 2022-04-16 14:27:22 +05:30
hclean.fish fish: functions: Move HieDb helpers to functions 2024-11-30 18:44:10 +05:30
hf.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
hieg.fish fish: functions: Move HieDb helpers to functions 2024-11-30 18:44:10 +05:30
hier.fish fish: functions: Move HieDb helpers to functions 2024-11-30 18:44:10 +05:30
hx.fish fish: functions: Add an alias for helix 2023-08-22 18:19:15 +05:30
icat.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
jbl.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
kr.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
l.fish fish: functions: Use newer eza which is replacement of exa 2023-09-12 13:45:19 +05:30
lg.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
ll.fish fish: functions: Use newer eza which is replacement of exa 2023-09-12 13:45:19 +05:30
lo.fish fish: functions: Add an alias for opening log files in /tmp 2024-05-15 20:32:21 +05:30
lt.fish fish: functions: Use newer eza which is replacement of exa 2023-09-12 13:45:19 +05:30
m.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
mb.fish fish: functions: Add aliases for meson 2023-04-27 16:51:19 +05:30
mc.fish fish: functions: Add aliases for meson 2023-04-27 16:51:19 +05:30
md.fish fish: functions: Add aliases for meson 2023-04-27 16:51:19 +05:30
mkdcd.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
mkdir.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
mkvtomp4.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
npu.fish fish: functions: Add an alias for global pnpm update 2023-04-27 17:39:59 +05:30
opdf.fish fish: functions: Open PDFs in Zathura with fuzzel 2024-10-20 21:51:51 +05:30
pfp.fish fish: functions: Add a different variant for perf top on a thread 2024-04-20 12:32:02 +05:30
pfr.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
pft.fish fish: functions: Add a different variant for perf top on a thread 2024-04-20 12:32:02 +05:30
pk.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
po.fish fish: functions: Rename to not conflict with git abbreviations 2023-05-10 14:24:40 +05:30
pst.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
pt.fish fish: functions: Rename to not conflict with git abbreviations 2023-05-10 14:24:40 +05:30
rfc.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
rgc.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
rgf.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
rmdot.fish fish: functions/rmdot: Add a helper to delete all dot files 2022-04-14 17:38:14 +05:30
se.fish fish: functions: Switch from sudo to doas 2024-02-28 21:52:26 +05:30
sfc.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
su.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
systemctl.fish fish: functions: Switch from sudo to doas 2024-02-28 21:52:26 +05:30
t.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
topf.fish fish: functions: Check return result of fzf selection 2022-12-26 14:47:03 +05:30
tsd.fish fish: functions/tsd: Add a helper to analyse GStreamer timestamps 2022-04-16 14:27:22 +05:30
v.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vb.fish fish: functions/vb: Remove build directory before compiling 2024-11-02 13:22:52 +05:30
vc.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vd.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
vdc.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
vdm.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
vds.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
vdu.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
vdua.fish fish: functions: Check for git repository in git helpers 2024-03-10 14:54:56 +05:30
vfv.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vn.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vnp.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vnrc.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vo.fish fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
vpn.fish fish: functions/vpn: Invoke wg-quick with doas 2024-04-24 11:29:53 +05:30
weather.fish fish: functions: Add an alias for checking weather 2023-02-25 18:00:07 +05:30
y.fish fish: functions: Add an alias for yazi 2024-02-23 21:28:17 +05:30