dotfiles/roles/shell-dotfiles/files/aliases

22 lines
1.5 KiB
Plaintext

alias ipcurl='curl icanhazip.com && curl --silent https://geoiptool.com/|grep maker_country | cut -d" " -f5 | cut -d"<" -f1 | head -n1'
alias toripcurl='torify curl icanhazip.com && torify curl --silent http://geoiptool.com/|grep maker_country | cut -d" " -f5 | cut -d"<" -f1 | head -n1'
alias grep="grep --color"
alias yt='cd ~/Musica/; torify youtube-dl -x -c -o "%(title)s.%(ext)s" -f "bestaudio" --audio-format "mp3" --audio-quality 0 '
alias notify-send='notify-send -i terminal'
alias ls='ls --color'
alias ec="emacsclient -t"
alias nav="qutebrowser --target tab-bg-silent "
alias rmr="/bin/rm"
alias weechat="docker run -ti --name weechat --rm -v ~/.weechat:/weechat --net=host registry.daemons.it/weechat"
alias ledger="ledger -f ~/Documentos/Finanzas/finanzas.ldg"
alias cdtemp="cd `mktemp -d`"
alias gitinit="git config user.email drymer@autistici.org; git config user.name drymer; git config commit.gpgsign true"
alias ytv="cd ~/.syncthing/VideosMovil; torify youtube-dl -f 18 "
alias h='function hdi(){ howdoi $* -n 3; }; hdi'
alias watch='watch -n1'
alias scrcpy='docker run -ti --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.android:/root/.android -v /tmp/.X12-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY -p 5037:5037 -v $HOME/.Xauthority:/root/.Xauthority --net=host scrcpy'
alias cwd='pwd | tr -d "\r\n" | xclip -selection clipboard'
alias sniff="sudo ngrep -d 'en1' -t '^(GET|POST) ' 'tcp and port 80'"
alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\\: .*|GET \\/.*\""
alias alarm="notify-send -u critical \"Ya ha terminado el proceso\""