config: ensure that binary exists before creating alias
This commit is contained in:
parent
c5c5117f7c
commit
79dc7b4cb2
|
@ -21,8 +21,8 @@ end
|
||||||
|
|
||||||
function _set_env
|
function _set_env
|
||||||
if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ]
|
if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ]
|
||||||
alias ssh="TERM=xterm-256color $(which ssh)"
|
which ssh > /dev/null 2>&1 && alias ssh="TERM=xterm-256color $(which ssh)"
|
||||||
alias gg="TERM=xterm-256color $(which gg)"
|
which gg > /dev/null 2>&1 && alias gg="TERM=xterm-256color $(which gg)"
|
||||||
end
|
end
|
||||||
set -x VIRTUAL_ENV_DISABLE_PROMPT
|
set -x VIRTUAL_ENV_DISABLE_PROMPT
|
||||||
set -x PF_INFO "ascii title os host kernel uptime memory de"
|
set -x PF_INFO "ascii title os host kernel uptime memory de"
|
||||||
|
|
Loading…
Reference in a new issue