Some fish stuff
Anirudh Oppiliappan x@icyphox.sh
Fri, 15 Jan 2021 17:06:17 +0530
2 files changed,
4 insertions(+),
21 deletions(-)
M
darwin/fish/config.fish
→
darwin/fish/config.fish
@@ -8,8 +8,11 @@ set -gx EDITOR nvim
set -gx BROWSER iridium set -gx PW_KEY x@icyphox.sh -source ~/.config/fish/functions/marks.fish +# source ~/.config/fish/functions/marks.fish function fish_user_key_bindings bind \cr '__fzy_history (commandline -b)' end + +# workaround for slow completions on macOS +function __fish_describe_command; end
D
darwin/fish/functions/marks.fish
@@ -1,20 +0,0 @@
-set -gx MARKPATH ~/.marks - -function mark - mkdir -p $MARKPATH - ln -s $PWD $MARKPATH/$argv -end - -function unmark - rm -i $MARKPATH/(basename $PWD) -end - -function marks - for f in $MARKPATH/* - printf '%s -> %s\n' (basename $f) (readlink $f) - end -end - -function n -d 'The based jumper.' # n because workman - cd (realpath $MARKPATH/$argv) 2>/dev/null || printf '%s\n' "error: no such mark $argv" -end