my.zsh/aliases

80 lines
2.0 KiB
Plaintext
Raw Normal View History

2013-05-06 12:54:02 +01:00
# -----------------------------------------------------------------------------
# My.Zsh - My personal zsh configuration
# Copyright (C) 2013 Sameer Rahmani <lxsameer@gnu.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# -----------------------------------------------------------------------------
alias p="python2.7"
alias p3="python3.3"
2013-05-07 22:01:19 +01:00
alias ac=". env/bin/activate"
2013-05-06 12:54:02 +01:00
alias r="ruby"
2013-05-07 22:01:19 +01:00
alias rr="rails"
2013-12-15 14:15:40 +00:00
alias b="bundle"
alias be="bundle exec"
2016-03-16 08:28:00 +00:00
alias rs="bundle exec rails s"
alias rc="bundle exec rails c"
alias rk="bundle exec rake"
2013-05-07 22:01:19 +01:00
alias e="emacs"
alias ew="emacs -nw"
alias k="kuso"
alias g="git"
2013-05-28 21:04:18 +01:00
alias gl="git pull"
alias gp="git push"
2015-01-05 17:20:49 +00:00
alias push="git_push"
alias pull="git_pull"
2015-01-05 17:42:56 +00:00
alias pu="git_push"
alias pl="git_pull"
2013-05-28 21:04:18 +01:00
2013-07-08 21:05:19 +01:00
alias kff="kernel_find_file"
2014-01-18 18:56:46 +00:00
alias ls='ls --color'
2015-01-05 17:20:49 +00:00
alias ll='ls -lh'
alias la='ls -lhA'
2013-07-08 21:05:19 +01:00
alias sl=ls
alias ...='cd ../..'
2015-01-05 17:20:49 +00:00
alias ....='cd ../../..'
2013-07-08 21:05:19 +01:00
alias -- -='cd -'
alias _="sudo"
2013-10-30 06:09:20 +00:00
alias ag="apt-get"
2013-12-15 14:15:40 +00:00
alias agu="apt-get update"
2014-03-30 08:39:55 +01:00
alias agi="apt-get install "
alias agr="apt-get remove "
alias agp="apt-get purge "
alias agd="apt-get dist-upgrade"
alias ags="apt-cache search "
alias agc="apt-cache "
alias aps="aptitude search "
2013-10-30 06:09:20 +00:00
alias Ps="ps aux|grep --color"
alias kl="kill"
alias kla="killall"
alias f="find . -iname "
2014-03-18 06:00:54 +00:00
alias c="cordova"
2014-04-13 05:26:46 +01:00
alias m="mount "
alias um="umount "
alias ch="chmod "
2015-01-05 17:42:56 +00:00
alias co="chown "