You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fish/aliases.fish
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -123,15 +123,14 @@ alias mine="git checkout mine"
123
123
124
124
125
125
126
-
# ag defaults. go as wide as terminal (minus some space for line numbers)
127
-
# i used to like `--follow --hidden` but dont anymore. -follow ends up with lots of fstat errors on broken symlinks. and --hidden is something that should be turned on explicitly.
128
-
# OKAY RIPGREP is way faster than AG. i gotta drop ag like its hot.
129
-
# also ripgrep doesnt buffer output so you can pipe it somewhere and it'll go as it happens. wow yah SO much better.
130
-
# alias ag='command ag -W (math $COLUMNS - 14)'
126
+
# Ripgrep > ag (silver_seacher). By far. definitely faster and also doesnt buffer output so you can pipe it somewhere and it'll go as it happens
127
+
# -uu is the combo of `--no-ignore` and `--hidden` which is what i often want to look through gitignored stuff and other hidden things.
128
+
abbr rgu 'rg -uu'
131
129
132
130
# fd is fast but their multicore stuff is dumb and slow and bad. https://github.com/sharkdp/fd/issues/1203
133
131
# alias fd='command fd -j1 --exclude node_modules'
134
132
abbr fdfind 'fd'
133
+
# fd's -u is equivalent to rg's -uu.
135
134
abbr fzfall 'fd --unrestricted | fzf'
136
135
137
136
# By default watchexec thinks the project origin is higher up. So dumb.
0 commit comments