mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-07-17 08:09:35 +00:00
refactor: simplify fish prompt and configs
This commit is contained in:
parent
fddae3ba36
commit
7da5ead1ed
32 changed files with 139 additions and 1156 deletions
20
.config/fish/conf.d/import_sources.fish
Normal file
20
.config/fish/conf.d/import_sources.fish
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# ASDF config start
|
||||
if test -z $ASDF_DATA_DIR
|
||||
set _asdf_shims "$HOME/.asdf/shims"
|
||||
else
|
||||
set _asdf_shims "$ASDF_DATA_DIR/shims"
|
||||
end
|
||||
|
||||
fish_add_path $_asdf_shims
|
||||
set --erase _asdf_shims
|
||||
# ASDF config end
|
||||
|
||||
test -e /opt/homebrew/bin/brew
|
||||
and /opt/homebrew/bin/brew shellenv | source -
|
||||
|
||||
if status is-interactive
|
||||
command -q zoxide; and zoxide init fish | source
|
||||
command -q fzf; and fzf --fish | source
|
||||
end
|
||||
|
||||
command -q pyenv; and pyenv init - | source
|
||||
Loading…
Add table
Add a link
Reference in a new issue