Update .bashrc, abbreviations.fish

This commit is contained in:
Roland Thomas Jr 2023-09-26 12:24:54 -04:00
parent 5b7d91d3c8
commit bf1bb637fa
Signed by: roland
GPG Key ID: 7C3C2B085A4C2872
2 changed files with 9 additions and 13 deletions

13
.bashrc
View File

@ -8,25 +8,20 @@ export MANPAGER="sh -c 'col -bx | bat -l man -p'"
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
# ls aliases # ls aliases
alias ls='exa --color=auto' alias ls='eza --color=auto'
alias sl='exa --color=auto' alias sl='eza --color=auto'
alias ll='exa -la --color=auto' alias ll='eza -la --color=auto'
# git aliases # git aliases
alias gss='git status' alias gss='git status'
alias gcm='git commit -m' alias gcm='git commit -m'
alias config='git --git-dir=$HOME/config-files/ --work-tree=$HOME' alias cf='git --git-dir=$HOME/config-files/ --work-tree=$HOME'
# aliases # aliases
alias ..='cd ..' alias ..='cd ..'
alias vi='vim' alias vi='vim'
alias ip='ip -color=auto' alias ip='ip -color=auto'
# vi key bindings
set -o vi
PS1='[\u@\h \W]\$ '
# starship prompt # starship prompt
eval "$(starship init bash)" eval "$(starship init bash)"

View File

@ -1,10 +1,11 @@
abbr ls 'exa --color=auto' abbr ls 'eza --color=auto'
abbr sl 'exa --color=auto' abbr sl 'eza --color=auto'
abbr ll 'exa -la --color=auto' abbr ll 'eza -la --color=auto'
abbr ip 'ip --color=auto'
abbr gss 'git status' abbr gss 'git status'
abbr gcm 'git commit -m' abbr gcm 'git commit -m'
abbr .. 'cd ..' abbr .. 'cd ..'
abbr vi 'vim' abbr vi 'vim'
abbr ip 'ip --color=auto'