zsh/.aliases/general

30 lines
595 B
Bash

#-*- mode: sh; -*-
## prezto utility module overrides
alias l='ls -1a'
alias la='ll -a'
# zim updates
alias zup="zimfw update && zimfw upgrade"
## 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'
#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
if hash $(basename $i) 2>/dev/null # check if command exists
then
source $i
fi
done