Update shell configs
This commit is contained in:
parent
2c7fa84ca0
commit
f43db4d7a9
3 changed files with 17 additions and 2 deletions
7
shell/.config/fish/config.fish
Normal file
7
shell/.config/fish/config.fish
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
||||||
|
|
||||||
|
# tabtab source for packages
|
||||||
|
# uninstall by removing these lines
|
||||||
|
[ -f ~/.config/tabtab/fish/__tabtab.fish ]; and . ~/.config/tabtab/fish/__tabtab.fish; or true
|
|
@ -1,5 +1,12 @@
|
||||||
|
fish_add_path $HOME/.local/bin
|
||||||
|
|
||||||
export BROWSER="firefox"
|
export BROWSER="firefox"
|
||||||
export EDITOR="vim"
|
if type -q lvim
|
||||||
|
export EDITOR="lvim"
|
||||||
|
alias vim lvim
|
||||||
|
else
|
||||||
|
export EDITOR="vim"
|
||||||
|
end
|
||||||
|
|
||||||
alias gitroot='cd $(git rev-parse --show-toplevel)'
|
alias gitroot='cd $(git rev-parse --show-toplevel)'
|
||||||
alias dc-up="docker compose up"
|
alias dc-up="docker compose up"
|
||||||
|
@ -9,3 +16,4 @@ alias kubectl="minikube kubectl --"
|
||||||
# abbr cd $(find ~/workspace -mindepth 1 -maxdepth 1 -type d | sed "s|$HOME|~|g" | fzf)
|
# abbr cd $(find ~/workspace -mindepth 1 -maxdepth 1 -type d | sed "s|$HOME|~|g" | fzf)
|
||||||
alias ws="cd ~/workspace/\$(ls ~/workspace | fzf)"
|
alias ws="cd ~/workspace/\$(ls ~/workspace | fzf)"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,6 @@ case ":$PATH:" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Added by Toolbox App
|
# Added by Toolbox App
|
||||||
export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
|
export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts:$HOME/.local/bin"
|
||||||
|
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
Loading…
Reference in a new issue