Added two new aliases to .zshrc, a simple install and delete alias.
- Author
- Vngngdn
- Date
- July 21, 2016, 3:52 p.m.
- Hash
- eeca60f7edfb4d224a66d17a2fd677b331414234
- Parent
- 262eb21841b394a5a0f219729fe37b6d45c0220a
- Modified file
- .zshrc
.zshrc ¶
5 additions and 0 deletions.
View changes Hide changes
1 |
1 |
HISTFILE=~/.histfile |
2 |
2 |
HISTSIZE=1000 |
3 |
3 |
SAVEHIST=1000 |
4 |
4 |
bindkey -e |
5 |
5 |
# End of lines configured by zsh-newuser-install |
6 |
6 |
# The following lines were added by compinstall |
7 |
7 |
zstyle :compinstall filename '/home/maarten/.zshrc' |
8 |
8 |
|
9 |
9 |
autoload -Uz compinit |
10 |
10 |
compinit |
11 |
11 |
# End of lines added by compinstall |
12 |
12 |
|
13 |
13 |
#By myself; these will explicitely tell ZSH to autoload this file. |
14 |
14 |
autoload -U promptinit |
15 |
15 |
promptinit |
16 |
16 |
|
17 |
17 |
#This is for colors: |
18 |
18 |
autoload -U colors && colors |
19 |
19 |
|
20 |
20 |
#This is for the Powerline font: |
21 |
21 |
# Eum, this doesn't work. commented out until further notice. |
22 |
22 |
#. /usr/share/zsh/site-contrib-powerline.zsh |
23 |
23 |
|
24 |
24 |
# Ignore useless files and directories: |
25 |
25 |
zstyle ':completion:*' ignored-patterns '*?.pyc' '__pycache__' '*?.class' |
26 |
26 |
|
+ |
27 |
# A list of aliases: |
+ |
28 |
|
+ |
29 |
alias install="sudo pacman -S" # Install a package. |
+ |
30 |
alias delete="sudo pacman -Rscu" # Delete a package and orphan dependencies/packages. |
+ |
31 |