Add foreign-env plugin and manage nix tools
This commit is contained in:
parent
2f69200b85
commit
d2372ba819
2 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
# requires fisher (https://github.com/jorgebucaran/fisher)
|
# requires fisher (https://github.com/jorgebucaran/fisher)
|
||||||
|
|
||||||
|
set -gx EDITOR vim
|
||||||
|
|
||||||
|
# FZF
|
||||||
if type -q fzf
|
if type -q fzf
|
||||||
function p --description "cd project"
|
function p --description "cd project"
|
||||||
cd {{ .projectdir }} && _fzf_search_directory
|
cd {{ .projectdir }} && _fzf_search_directory
|
||||||
|
@ -11,6 +14,11 @@ if type -q fzf
|
||||||
fzf_configure_bindings --directory=\cf --git_log=\cg
|
fzf_configure_bindings --directory=\cf --git_log=\cg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# NIX
|
||||||
|
if test -e ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
fenv source ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
end
|
||||||
|
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
patrickf1/fzf.fish
|
patrickf1/fzf.fish
|
||||||
ilancosman/tide@v5
|
ilancosman/tide@v5
|
||||||
gazorby/fish-abbreviation-tips
|
gazorby/fish-abbreviation-tips
|
||||||
|
oh-my-fish/plugin-foreign-env
|
||||||
|
|
Loading…
Add table
Reference in a new issue