my.zsh/aliases/debian.alias~

110 lines
2.5 KiB
Plaintext
Raw Normal View History

2013-05-06 12:54:02 +01:00
# -----------------------------------------------------------------------------
# My.Zsh - My personal zsh configuration
2020-03-02 10:14:35 +00:00
# Copyright (C) 2013-2020 Sameer Rahmani <lxsameer@gnu.org>
2013-05-06 12:54:02 +01:00
#
# 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.
# -----------------------------------------------------------------------------
2021-12-08 21:52:25 +00:00
source
2013-05-06 12:54:02 +01:00
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 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"
2020-03-02 10:14:35 +00:00
alias gr="git restore --staged"
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
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 "
2017-06-23 20:48:41 +01:00
alias d="docker"
alias d-="docker-compose"
2018-04-10 11:09:58 +01:00
alias dall="docker ps -a -q"
2018-01-07 18:26:29 +00:00
alias drm='d stop `dall`;d rm `dall`'
alias drmi='docker_remove_orphan_layers'
2017-06-23 20:48:41 +01:00
alias a="apt"
alias ai="apt install"
alias au="apt update"
alias n="npm"
alias nr="npm run"
alias y="yarn"
alias yi="yarn add"
2017-06-24 23:23:39 +01:00
alias yr="yarn run"
2018-01-08 15:53:10 +00:00
alias l="lein"
alias copy="xclip -sel clip <"
2020-03-02 10:14:35 +00:00
alias x=". ~/.xinitrc"
2018-01-08 15:53:10 +00:00
alias reload="source ~/.zshrc"
2018-05-02 17:58:43 +01:00
alias t="terraform"
2018-05-25 18:29:35 +01:00
alias tmux="tmux -u"
2020-03-02 10:14:35 +00:00
alias r--="gtk-redshift -m randr:crtc=1"