helm/config/zsh/aliases.zsh
Henrik Lissner c897191831
Major design of glimpse theme
- Add rofi scripts (replace rofi-pass with homebrewed passmenu)
- Replace wallpapers
- New soft blue + blur A E S T H E T I C
- Change from Arc Dark to Nordic
- Apply GTK theme to pinentry prompt
- New rofi theme
- Switch from lightdm gtk greeter to mini greeter
- Refactor zsh aliases
2019-12-04 00:03:31 -05:00

64 lines
1.2 KiB
Bash

alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias -- -='cd -'
alias q=exit
alias clr=clear
alias sudo='sudo '
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias mkdir='mkdir -p'
alias wget='wget -c'
alias rg='noglob rg'
alias bc='bc -lq'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
if command -v exa >/dev/null; then
alias exa='exa --group-directories-first'
alias l='exa -1'
alias ll='exa -l'
alias la='LC_COLLATE=C exa -la'
else
alias l='ls -1'
alias ll='ls -l'
fi
alias mk=make
alias rcp='rsync -vaP --delete'
alias rmirror='rsync -rtvu --delete'
alias gurl='curl --compressed'
alias y='xclip -selection clipboard -in'
alias p='xclip -selection clipboard -out'
alias sc=systemctl
alias ssc='sudo systemctl'
alias nix-env='NIXPKGS_ALLOW_UNFREE=1 nix-env'
alias ne=nix-env
alias nc=nix-channel
alias ngc=nix-garbage-collect
alias nre=nixos-rebuild
autoload -U zmv
take() {
mkdir "$1" && cd "$1";
}; compdef take=mkdir
zman() {
PAGER="less -g -s '+/^ "$1"'" man zshall;
}
r() {
local time=$1; shift
sched "$time" "notify-send --urgency=critical 'Reminder' '$@'; ding";
}; compdef r=sched