zsh/.aliases/general

30 lines
595 B
Plaintext
Raw Permalink Normal View History

2015-04-25 21:51:54 -04:00
#-*- mode: sh; -*-
## prezto utility module overrides
alias l='ls -1a'
alias la='ll -a'
2020-03-25 01:39:57 -04:00
# zim updates
alias zup="zimfw update && zimfw upgrade"
2015-04-25 21:51:54 -04:00
## Disable Globbing (for some things)
alias nmap="noglob nmap"
## Other Aliases
mcd() { mkdir -p "$1" && cd "$1"; }
## Weechat on ag
alias irc='ssh ag tmux a -t irc'
2015-04-25 21:51:54 -04:00
#quick alias for enabling bluetooth
alias ebluetooth="sudo modprobe btusb;ssy start bluetooth;blueman-manager"
# Command Specific Aliases
for i in $HOME/.aliases/command-specific/*
do
2018-01-10 12:46:05 -05:00
if hash $(basename $i) 2>/dev/null # check if command exists
then
source $i
fi
done