changes from desktop
This commit is contained in:
@@ -1,7 +1,22 @@
|
||||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
# source all files in the scripts directory
|
||||
for file in $HOME/.scripts/*
|
||||
source $file
|
||||
starship init fish | source
|
||||
set fish_greeting ""
|
||||
|
||||
# pyenv setup
|
||||
while set pyenv_index (contains -i -- "/home/alex/.pyenv/shims" $PATH)
|
||||
set -eg PATH[$pyenv_index]; end; set -e pyenv_index
|
||||
set -gx PATH '/home/alex/.pyenv/shims' $PATH
|
||||
set -gx PYENV_SHELL fish
|
||||
command pyenv rehash 2>/dev/null
|
||||
function pyenv
|
||||
set command $argv[1]
|
||||
set -e argv[1]
|
||||
|
||||
switch "$command"
|
||||
case rehash shell
|
||||
source (pyenv "sh-$command" $argv|psub)
|
||||
case "*"
|
||||
command pyenv "$command" $argv
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user