profile.sh 833 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env bash
  2. export LANG=en_US.UTF8
  3. export TERM=xterm-256color
  4. export EDITOR=nvim
  5. export LSCOLORS=Gxfxcxdxbxegedabagacad
  6. export LESS="-r -f --mouse"
  7. export PATH=$HOME/bin:$PATH
  8. export PS1='\[\033[1;49;32m\]MUD\[\033[0m\]:\[\033[33m\]\w\[\033[0m\]\$ '
  9. set -o vi
  10. bind '"\C-n": history-search-forward'
  11. bind '"\C-p": history-search-backward'
  12. alias ll='ls --color -lh'
  13. alias l='ls --color -lah'
  14. alias vim=nvim
  15. alias vi=nvim
  16. alias gst='git status'
  17. alias glc='tig --all'
  18. alias gco='git checkout'
  19. alias gcb='git checkout -b'
  20. alias grs='git restore'
  21. alias grss='git restore --source'
  22. alias grst='git restore --staged'
  23. alias gba='git branch -a'
  24. alias gbb='git bv'
  25. alias gdf='git -p diff'
  26. alias gdca='git diff --cached'
  27. alias gsh='git show'
  28. alias grv='git remote -v'
  29. command -v starship >/dev/null && eval "$(starship init bash)"