Add check for fish_add_path
before calling it
This commit is contained in:
parent
e2b0c04640
commit
ca72852c0f
@ -70,7 +70,10 @@ set fish_key_bindings fish_default_key_bindings
|
|||||||
|
|
||||||
set VIRTUAL_ENV_DISABLE_PROMPT true
|
set VIRTUAL_ENV_DISABLE_PROMPT true
|
||||||
|
|
||||||
fish_add_path -aP ~/.local/bin
|
# Add '~/.local/bin' using 'fish_add_path' (Only available in Fish 3.2.X and above)
|
||||||
|
if type fish_add_path &> /dev/null
|
||||||
|
fish_add_path -aP ~/.local/bin
|
||||||
|
end
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# Aliases #
|
# Aliases #
|
||||||
|
Loading…
Reference in New Issue
Block a user