mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Add foreign-env plugin and manage nix tools
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user