This commit is contained in:
2025-04-29 22:36:07 -07:00
parent 25ad40f68b
commit 4818c27b93
12 changed files with 722 additions and 56 deletions

25
.bashrc
View File

@@ -70,19 +70,20 @@ alias gpe='gopass edit'
#######################################################
# ALIAS
#######################################################
# To temporarily bypass an alias, we preceed the command with a \
# EG: the ls command is aliased, but to use the normal ls command you would type \ls
alias df='cd ~/code/opalfiles'
alias ans='cd ~/code/ansible'
alias v='nvim'
alias vim='nvim'
alias vi='nvim'
# DNF
alias dnf='dnf5'
alias din='sudo dnf5 install'
alias dre='sudo dnf5 remove'
alias dup='sudo dnf5 update'
alias dse='dnf5 search'
alias dnf='dnf'
alias din='sudo dnf install'
alias dre='sudo dnf remove'
alias dup='sudo dnf update'
alias dse='dnf search'
# alias to show the date
alias da='date "+%Y-%m-%d %A %T %Z"'
@@ -137,6 +138,9 @@ alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
# Translate
alias tbr='trans :pt-BR'
# ncmpcpp
alias ncmpcpp='ncmpcpp -b ~/.config/ncmpcpp/bindings'
#######################################################
# WORK
@@ -165,8 +169,9 @@ mkdirg() {
function parse_git_branch {
git branch 2>/dev/null | grep -e '^*' | sed 's/^* \(.*\)/ (\1)/'
}
export RED='\[\033[0;31m\]'
export BLUE='\[\033[0;34m\]'
RED='\[\033[0;31m\]'
BLUE='\[\033[0;34m\]'
GREEN='\[\033[0;32m\]'
YELLOW='\[\033[0;33m\]'
CYAN='\[\033[0;36m\]'
@@ -188,5 +193,3 @@ keys()
}
keys
todo ls