all repos — dotfiles @ 6ba92e02b0950355d4c1c854c9f80075015b9307

my *nix dotfiles

Some fish stuff
Anirudh Oppiliappan x@icyphox.sh
Fri, 15 Jan 2021 17:06:17 +0530
commit

6ba92e02b0950355d4c1c854c9f80075015b9307

parent

dff753854c3e6d1bab3fd8b3e345bd812b091df4

2 files changed, 4 insertions(+), 21 deletions(-)

jump to
M darwin/fish/config.fishdarwin/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