fish: override username in termux
This commit is contained in:
34
tree/.config/fish/config.fish.tpl
Normal file
34
tree/.config/fish/config.fish.tpl
Normal file
@ -0,0 +1,34 @@
|
||||
set -x PATH $PATH $HOME/.cargo/bin $HOME/.local/bin $HOME/Projekt/sh
|
||||
set -x GPG_TTY (tty)
|
||||
set -x BROWSER firefox
|
||||
set -x EDITOR nvim
|
||||
|
||||
{% if username == "u0_a213" %}
|
||||
set -x USER hulthe
|
||||
{% end %}
|
||||
|
||||
# misc abbrs
|
||||
abbr --add e $EDITOR
|
||||
abbr --add bt bluetoothctl
|
||||
abbr --add d "cd ~/.config/dotfiles/tree && exa -Ta && git status"
|
||||
|
||||
# rust core tools
|
||||
abbr --add ls exa
|
||||
abbr --add cat bat
|
||||
abbr --add find fd
|
||||
abbr --add grep rg
|
||||
|
||||
# git abbrs
|
||||
abbr --add ga git add
|
||||
abbr --add gc git commit
|
||||
abbr --add gd git diff
|
||||
abbr --add gp git push
|
||||
abbr --add gpu git push -u origin
|
||||
abbr --add gl git pull
|
||||
abbr --add gr git reset
|
||||
abbr --add gst git status
|
||||
abbr --add gsta git stash push
|
||||
abbr --add gstp git stash pop
|
||||
|
||||
|
||||
starship init fish | source
|
||||
Reference in New Issue
Block a user