dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/zsh/alias.zsh

80 lines
3.2 KiB
Bash
Raw Normal View History

# Programas
2018-07-21 04:46:57 +00:00
alias vdi='vimdiff'
alias gdl='gallery-dl'
alias m='neomutt'
alias r='ranger'
2018-07-21 04:46:57 +00:00
alias pmix='ncpamixer'
alias amix='alsamixer'
alias v='nvim'
2018-07-21 04:46:57 +00:00
alias vi='nvim'
alias vim='nvim'
alias chat='irssi'
alias 3='ncmpcpp'
alias torr='transmission-remote-cli'
2018-07-21 04:46:57 +00:00
alias cal='calcurse'
alias py='python '
alias py2='python2 '
alias ytv='youtube-viewer'
alias git='lab'
alias help='run-help'
alias p='pacui'
alias sr='sr -browser=$CLIBROWSER' # open in cli browser
alias surfraw='surfraw -browser=$BROWSER' # open in gui browser
alias foxy='FoxDot & disown'
alias bm='bashmount'
alias kat='cat'
2018-07-21 04:46:57 +00:00
# MAXIMUM VERBOSITY YIELDS MAXIMUM RESULTS
alias chmod='chmod -v'
alias chown='chown -v'
alias mv='mv -iv'
alias rmdir='rmdir -v' # rm empty directory only
alias rm='rm -iv' # Always confirm before deleting things
alias mkdir='mkdir -pv' # Make parent directories that dont exist
2018-07-21 04:46:57 +00:00
alias cp="cp -aiv" # Confirm before overwriting something
alias ln='ln -iv'
alias rename='rename -v'
alias mount='mount -v | column -t'
alias umount='umount -v'
# Con opciones por defecto
alias cat='bat --style=numbers,changes,header --color=always'
alias find='fd -H --color=always'
alias du='ncdu --color dark -rr -x --exclude .git'
alias rg='rg -p'
alias ytdl='youtube-dl -ic'
2018-07-21 04:46:57 +00:00
alias ls='ls -F --color=always --group-directories-first'
alias grep='grep --color=tty -d skip'
alias sgrep='grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS} '
alias dmesg='dmesg --color=always'
alias ag="ag --one-device --color --color-line-number '0;35' --color-match '46;30' --color-path '4;36'"
alias tree='tree -CAFa -I "CVS|*.*.package|.svn|.git|.hg|node_modules|bower_components" --dirsfirst'
alias lsblk='lsblk -o "KNAME,HOTPLUG,SIZE,FSTYPE,TYPE,LABEL,MOUNTPOINT,UUID,MODEL,SERIAL"'
alias dir='dir --color=always'
alias type='type -a' # See what the command you want to run points to
alias df='df -hT --total' # Human readable, print filetype, and total
alias free='free -ht' # Human readable and total
alias duu='du -d1 -h | sort -rh' # Human readable, max depth
2018-07-21 04:46:57 +00:00
alias info='info --vi-keys' # GNU info act like man command
alias inxi='inxi -Fz'
alias slop='slop --highlight --tolerance=0 --color=0.3,0.4,0.6,0.4 -f '%wx%h+%x+%y''
alias ping='ping -c 5 '
alias dd="dd status=progress"
# Comandos
alias _="sudo "
2018-08-23 19:00:30 +00:00
alias logout="bspc quit 1"
2018-07-21 04:46:57 +00:00
alias svi="sudo nvim"
alias pacmir='sudo pacman-mirrors -f5'
alias upd='yay -Syu'
2018-07-21 04:46:57 +00:00
alias ytw='youtube-viewer -C -D -W -f -7 --results=10'
alias hoy='calcurse -a --format-apt=" - %m (%S a %E)\n" --format-recur-apt=" - %m (%S a %E)\n"'
alias week='calcurse -r7 --format-apt=" - %m (%S a %E)\n" --format-recur-apt=" - %m (%S a %E)\n"'
alias todo='calcurse -t --format-todo "(%p) %m\n"'
alias winclass='xprop | grep WM_CLASS' # for bspwm rules
alias path='echo -e ${PATH//:/\\n}' # Pretty print of some PATH variables
2018-07-21 04:46:57 +00:00
alias compare='grep -nFxvf' # Usage: compare <file1> <file2>
alias pwn='chmod +x'
alias ta='tmux attach -t'
alias tk='tmux kill-session -t'
alias lst='ls -FAghoBtH --group-directories-first --dereference-command-line-symlink-to-dir --time-style=+"%d-%m-%Y %H:%M"'