45 lines
973 B
Bash
45 lines
973 B
Bash
# -*- shell-script -*-x
|
|
# vim: set syntax=zsh:
|
|
# $Id: alias.rc 44 2005-08-09 14:50:41Z asyd $
|
|
|
|
# I prefer interactive mode
|
|
alias ls="ls --color -h"
|
|
alias ll="ls -lh"
|
|
alias la="ls -A"
|
|
alias df="df -h"
|
|
alias du="du -hs"
|
|
alias more="less"
|
|
alias serial="screen 1 /dev/ttyS0"
|
|
alias ser=serial
|
|
alias scan="sudo iwlist wlan0 scan"
|
|
alias route="route -n"
|
|
# zsh corret clea to flea
|
|
[[ -x `which flea` ]] && alias clea="clear"
|
|
|
|
[[ -x $(which vim) ]] && alias vi="vim"
|
|
|
|
# start mutt with list mailboxes
|
|
[[ -x `which mutt` ]] && alias mutt="mutt -y"
|
|
|
|
# IPv6 Stuff
|
|
alias netstat6="netstat -A inet6"
|
|
|
|
# acpi (show all available informations)
|
|
[[ -x `which acpi` ]] && alias acpi="acpi -V"
|
|
|
|
# Etags
|
|
[[ -x `which etags` ]] && alias etags="etags --members"
|
|
|
|
alias -s log="tail -f"
|
|
|
|
alias -s pem="openssl x509 -text -noout -in"
|
|
alias -s req="openssl req -text -in"
|
|
alias rand="openssl rand -base64"
|
|
|
|
# cron / fcronb
|
|
if [[ -x $(which -p fcron) ]]; then
|
|
alias crontab="fcrontab"
|
|
fi
|
|
|
|
return 0
|