Add more aliases to .shellrc
This commit is contained in:
parent
80d5386c10
commit
2f8b25aa0e
@ -16,20 +16,21 @@ source "$HOME/.profile"
|
|||||||
#~~~~~~~~~
|
#~~~~~~~~~
|
||||||
# Aliases
|
# Aliases
|
||||||
#~~~~~~~~~
|
#~~~~~~~~~
|
||||||
|
# nvim
|
||||||
|
alias v='nvim'
|
||||||
alias vi='nvim'
|
alias vi='nvim'
|
||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
alias suvi='sudo -E nvim'
|
alias suvi='sudo -E nvim'
|
||||||
|
|
||||||
|
# package managers
|
||||||
alias owo='yay --editmenu --nodiffmenu --save'
|
alias owo='yay --editmenu --nodiffmenu --save'
|
||||||
alias uwu="yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -"
|
alias uwu="yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -"
|
||||||
|
|
||||||
alias pass='keepassxc-cli clip ~/Passwords/keepass.kdbx'
|
# youtube-dl
|
||||||
alias torrent='transmission-cli'
|
alias ytdl-audio='youtube-dl -i -f bestaudio -o "%(title)s.%(ext)s" -4'
|
||||||
alias ascii='figlet'
|
alias ytdl-opus='youtube-dl -i --extract-audio --audio-format opus -o "%(title)s.%(ext)s" -4'
|
||||||
alias ytdl-audio='youtube-dl -i --extract-audio --audio-format opus'
|
alias yt-video='youtube-dl -f bestvideo -o "%(title)s.%(ext)s" -4'
|
||||||
alias mirrors='sudo reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
|
alias yt-thumbnail='youtube-dl --write-thumbnail --skip-download -o "%(title)s.%(ext)s" -4'
|
||||||
alias copy='xclip -selection clipboard'
|
|
||||||
alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
|
|
||||||
|
|
||||||
# git
|
# git
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
@ -39,7 +40,25 @@ alias gpom='git push origin master'
|
|||||||
alias gl='git log'
|
alias gl='git log'
|
||||||
alias gpu='git pull'
|
alias gpu='git pull'
|
||||||
alias gs='git status'
|
alias gs='git status'
|
||||||
alias gr='git rm -f'
|
alias grm='git rm -f'
|
||||||
|
alias gi='git init'
|
||||||
|
|
||||||
|
# github-cli
|
||||||
|
alias gh-rcp='gh repo create --public'
|
||||||
|
alias gh-rv='gh repo view'
|
||||||
|
|
||||||
|
# fzf
|
||||||
|
fe() { find ./* -type f | fzf | xargs -r $EDITOR ;}
|
||||||
|
ff() { vifm "$(find ./* -type d | fzf)" ; clear }
|
||||||
|
alias f='ff'
|
||||||
|
|
||||||
|
# other
|
||||||
|
alias pass='keepassxc-cli clip ~/Passwords/keepass.kdbx'
|
||||||
|
alias torrent='transmission-cli'
|
||||||
|
alias ascii='figlet'
|
||||||
|
alias mirrors='sudo reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
|
||||||
|
alias copy='xclip -selection clipboard'
|
||||||
|
alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
|
||||||
|
|
||||||
#~~~~~~~~~~~~~~~~~
|
#~~~~~~~~~~~~~~~~~
|
||||||
# Commands Colors
|
# Commands Colors
|
||||||
@ -70,3 +89,5 @@ export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
|||||||
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
||||||
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
||||||
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
||||||
|
|
||||||
|
# vim: ft=sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user