mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-16 06:32:51 +02:00
update fish config
This commit is contained in:
parent
dc2ac8c6f5
commit
53c3d8960c
1 changed files with 19 additions and 0 deletions
19
dot_config/fish/config.fish
Normal file
19
dot_config/fish/config.fish
Normal file
|
@ -0,0 +1,19 @@
|
|||
# disable fish greeting
|
||||
set fish_greeting
|
||||
|
||||
# nix
|
||||
if command -v nix >/dev/null
|
||||
fish_add_path ~/.nix-profile/bin
|
||||
end
|
||||
|
||||
# direnv
|
||||
if command -v direnv >/dev/null
|
||||
direnv hook fish | source
|
||||
set -g direnv_fish_mode eval_on_arrow
|
||||
end
|
||||
|
||||
# starship
|
||||
if command -v starship >/dev/null
|
||||
source (starship init fish --print-full-init | psub)
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue