You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
752 B

3 years ago
  1. # ls aliases
  2. alias ll='ls -alF'
  3. alias la='ls -A'
  4. alias l='ls -CF'
  5. alias lst='ls -altr'
  6. # color aliases
  7. alias ls='ls --color=auto'
  8. alias ls='ls --color=auto'
  9. alias dir='dir --color=auto'
  10. alias vdir='vdir --color=auto'
  11. alias grep='grep --color=auto'
  12. alias fgrep='fgrep --color=auto'
  13. alias egrep='egrep --color=auto'
  14. # alias
  15. alias n='nvim'
  16. alias t='tmux'
  17. # git alias
  18. alias gdf='git difftool --tool=vimdiff'
  19. alias gs='git status'
  20. # gitg branch views, line from https://gitlab.com/dhole/dot_files/blob/master/.bash_aliases#L39
  21. alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
  22. alias python=python3
  23. # alias cat='bat --theme="Monokai Extended" --style=plain'