.dotfiles/botfiles/.aliases

37 lines
1.1 KiB
Plaintext
Raw Normal View History

#!/bin/bash
# _ _
# __ _| (_) __ _ ___ ___ ___
# / _` | | |/ _` / __|/ _ \/ __|
# | (_| | | | (_| \__ \ __/\__ \
# \__,_|_|_|\__,_|___/\___||___/
alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
alias vi='nvim'
alias vim='nvim'
alias suvi='sudo -E nvim'
2020-03-15 00:09:25 +01:00
alias owo='yay --editmenu --nodiffmenu --save'
alias uwu="yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -"
2020-03-10 17:20:21 +01:00
alias pass='keepassxc-cli clip ~/Passwords/keepass.kdbx'
alias torrent='transmission-cli'
alias ascii='figlet'
2020-03-14 20:58:02 +01:00
alias sudo='sudo -p "$(printf "\033[0;31m")[ sudo ]$(printf "\033[0m"): "'
alias ytdl-audio='youtube-dl -i --extract-audio --audio-format opus'
alias mirrors='sudo reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
alias copy='xclip -selection clipboard'
# Colors
alias ls='ls --color=auto'
alias ip='grc ip'
alias ping='grc ping'
alias ps='grc ps'
# Git
alias ga='git add'
alias gc='git commit'
alias gp='git push'
alias gpom='git push origin master'
2020-03-10 16:40:50 +01:00
alias gl='git log'
alias gpu='git pull'
2020-03-10 16:46:53 +01:00
alias gs='git status'
alias gr='git rm -f'