Add Fish shell config
This commit is contained in:
parent
526498557c
commit
2f69200b85
2 changed files with 19 additions and 0 deletions
16
private_dot_config/private_fish/config.fish.tmpl
Normal file
16
private_dot_config/private_fish/config.fish.tmpl
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# ===========================================================================
|
||||||
|
# Fish config
|
||||||
|
# ===========================================================================
|
||||||
|
# requires fisher (https://github.com/jorgebucaran/fisher)
|
||||||
|
|
||||||
|
if type -q fzf
|
||||||
|
function p --description "cd project"
|
||||||
|
cd {{ .projectdir }} && _fzf_search_directory
|
||||||
|
end
|
||||||
|
# File find: CTRL+F, Git log: CTRL+G
|
||||||
|
fzf_configure_bindings --directory=\cf --git_log=\cg
|
||||||
|
end
|
||||||
|
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
3
private_dot_config/private_fish/fish_plugins
Normal file
3
private_dot_config/private_fish/fish_plugins
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
patrickf1/fzf.fish
|
||||||
|
ilancosman/tide@v5
|
||||||
|
gazorby/fish-abbreviation-tips
|
Loading…
Add table
Reference in a new issue