From 67b0ec5741d327d27afe88783d85fcf2c4c4f204 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 3 Nov 2013 12:30:45 +0100 Subject: First commit --- .zsh.after/aliases.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .zsh.after/aliases.sh (limited to '.zsh.after/aliases.sh') diff --git a/.zsh.after/aliases.sh b/.zsh.after/aliases.sh new file mode 100644 index 0000000..d6946c7 --- /dev/null +++ b/.zsh.after/aliases.sh @@ -0,0 +1,36 @@ +# < ALIASES +## ANDROID + alias logcats='adb logcat QMI-RIL:S QMI_FW:S QC-QDI:S QC-NETMGR:S QC-time-services:S LocSvc_api_v02:S LocSvc_utils_q:S LocSvc_utils_ll:S LocSvc_eng:S LocSvc_adapter:S GpsLocationProvider:S AK8975:S dalvikvm:S dalvikvm-heap:S alsa_ucm:S rmt_storage:S ALSAModule:S Adreno200-EGLSUB:S NetworkManagementSocketTagger:S LocationManagerService:S Sensors:S AudioStreamOutALSA:S' + alias fastbootx="fastboot -i 0x0fce" + alias vlog="vim \$(ls -1tr *.log | tail -n 1)" + +## CUSTOM COMMANDS + alias lsmnt='mount | grep \/dev\/sd' + +## HELP + alias helpdd='echo dd if=bla | pv -s 10M | dd of=blob' + +## PACMAN/APT-GET + alias Syu='sudo pacman -Syu' + alias S='sudo pacman -S $@' + alias apt-get='sudo apt-get -o Acquire::http::Pipeline-Depth=0' + +## SHELL + alias .='source' + alias ls='ls --group-directories-first --color=auto' + alias l='ls' + alias lt='ls -tr' + alias ll='ls -l' + alias llh='ls -lh' + alias llt='ls -ltr' + alias la='ls -A' + alias lla='ls -lA' + alias grep='grep --color=auto --exclude-dir=.git' + alias psgrep='ps xa | grep $1' + + alias beep="xset b 100 400 50; echo -e '\a'; xset b off" + +## SHORTCUTS + alias ncm=ncmpcpp + alias cu_omnomnom='cu -s 115200 -l ttyUSB0' +# ALIASES > -- cgit v1.2.3-70-g09d2