mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
more fish stuff
This commit is contained in:
parent
bb00648208
commit
ba75ec2366
@ -73,6 +73,7 @@ function abbrs --description 'All abbreviations'
|
||||
# Improved CLI Tools
|
||||
abbr -a cat 'bat' # Swap cat with bat
|
||||
abbr -a h 'http -Fh --all' # Curl site for headers
|
||||
abbr -a j 'just'
|
||||
|
||||
# Fun CLI Tools
|
||||
abbr goo 'googler'
|
||||
|
@ -5,6 +5,8 @@ function fish_user_key_bindings
|
||||
bind -M insert \ce 'recent'
|
||||
bind -M insert \cg 'commandline-git-commits'
|
||||
bind -M insert \cf 'fcd'
|
||||
bind -M insert \cp 'prj'
|
||||
bind -M default \cp 'prj'
|
||||
bind -M insert \x1F accept-autosuggestion
|
||||
bind -M default \x1F accept-autosuggestion
|
||||
end
|
||||
|
@ -1,4 +1,5 @@
|
||||
function prj --description "cd to a project"
|
||||
set projdir (ls $PROJ | fzf)
|
||||
and cd $PROJ/$projdir
|
||||
and commandline -f execute
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user