bugfixing
This commit is contained in:
parent
04ddc3600a
commit
489af14d64
2 changed files with 7 additions and 17 deletions
20
config.fish
20
config.fish
|
@ -10,8 +10,12 @@ end
|
||||||
# ╰───────────────────────────────────────────────────╯
|
# ╰───────────────────────────────────────────────────╯
|
||||||
|
|
||||||
# ────────────────────────────────────────< sources >──────────────────────────────────────
|
# ────────────────────────────────────────< sources >──────────────────────────────────────
|
||||||
source $HOME/.config/fish/init/*.fish
|
source $HOME/.config/fish/init/setup.fish
|
||||||
|
|
||||||
|
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
|
||||||
|
upin
|
||||||
|
dep_fisher
|
||||||
|
# check_fishr
|
||||||
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
||||||
set -p EDITOR (which nvim)
|
set -p EDITOR (which nvim)
|
||||||
|
|
||||||
|
@ -45,6 +49,7 @@ else
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ─< set alias for clearl >─────────────────────────────────────────────────────────────────
|
# ─< set alias for clearl >─────────────────────────────────────────────────────────────────
|
||||||
if alias l >/dev/null 2>&1
|
if alias l >/dev/null 2>&1
|
||||||
alias clearl="command clear && l"
|
alias clearl="command clear && l"
|
||||||
|
@ -127,7 +132,7 @@ if command -v fastfetch >/dev/null 2>&1
|
||||||
alias f="fastfetch --config os"
|
alias f="fastfetch --config os"
|
||||||
# ─< unsuccessful, cloning repo >──────────────────────────────────────────────────────────
|
# ─< unsuccessful, cloning repo >──────────────────────────────────────────────────────────
|
||||||
case '*'
|
case '*'
|
||||||
git clone https://git.k4li.de/mirror/fastfetch $HOME/.local/share/fastfetch >/dev/null 2>&1
|
git clone https://git.k4li.de/mirrors/fastfetch.git $HOME/.local/share/fastfetch >/dev/null 2>&1
|
||||||
# ─< execute fish to reinitialize aliases >────────────────────────────────────────────────
|
# ─< execute fish to reinitialize aliases >────────────────────────────────────────────────
|
||||||
exec fish
|
exec fish
|
||||||
end
|
end
|
||||||
|
@ -149,17 +154,6 @@ if command -v zoxide >/dev/null 2>&1
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
end
|
end
|
||||||
|
|
||||||
# ─< starship >─────────────────────────────────────────────────────────────────────────────
|
|
||||||
# if command -v starship >/dev/null 2>&1
|
|
||||||
# function starship_transient_prompt_func
|
|
||||||
# starship module character
|
|
||||||
# end
|
|
||||||
# starship init fish | source
|
|
||||||
# enable_transience
|
|
||||||
# else
|
|
||||||
# curl -sS https://starship.rs/install.sh | sh && exec fish
|
|
||||||
# end
|
|
||||||
|
|
||||||
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
||||||
if command -v oh-my-posh >/dev/null 2>&1
|
if command -v oh-my-posh >/dev/null 2>&1
|
||||||
oh-my-posh init fish --config ~/.config/fish/themes/tokyo_storm.toml | source
|
oh-my-posh init fish --config ~/.config/fish/themes/tokyo_storm.toml | source
|
||||||
|
|
|
@ -237,7 +237,3 @@ function check_fishr
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
|
|
||||||
upin
|
|
||||||
dep_fisher
|
|
||||||
#check_fishr
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue