Add foreign-env plugin and manage nix tools

This commit is contained in:
Yax 2023-04-29 17:02:52 +02:00
parent 2f69200b85
commit d2372ba819
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,9 @@
# ===========================================================================
# requires fisher (https://github.com/jorgebucaran/fisher)
set -gx EDITOR vim
# FZF
if type -q fzf
function p --description "cd project"
cd {{ .projectdir }} && _fzf_search_directory
@ -11,6 +14,11 @@ if type -q fzf
fzf_configure_bindings --directory=\cf --git_log=\cg
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
# Commands to run in interactive sessions can go here
end

View file

@ -1,3 +1,4 @@
patrickf1/fzf.fish
ilancosman/tide@v5
gazorby/fish-abbreviation-tips
oh-my-fish/plugin-foreign-env