Modify fish config and prompt to check for commands before running;

cache programming language versions to improve prompt speed
This commit is contained in:
mitchell 2020-02-08 17:10:26 -05:00
parent 75adf1cb0a
commit 101014980d
2 changed files with 41 additions and 29 deletions

View file

@ -10,11 +10,8 @@ set -gx PATH $PATH $GOBIN \
$HOME/.cargo/bin \
$HOME/.dotnet/tools
set -g fish_escape_delay_ms 10
kitty + complete setup fish | source
source (brew --prefix asdf)/asdf.fish
command -sq kitty; and kitty + complete setup fish | source
command -sq asdf; and source (brew --prefix asdf)/asdf.fish
# The next line updates PATH for the Google Cloud SDK.
# if test -f '/Users/m/Documents/google-cloud-sdk/path.fish.inc'; source '/Users/m/Documents/google-cloud-sdk/path.fish.inc'; end