summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-06-24 18:43:47 +0100
committerAlan Pearce2014-06-24 18:43:47 +0100
commit544384c1882892edc0dc7643e07fe8729b564de8 (patch)
tree6022c004dbbd9c0c1c0f3d2d1f4df075d7559800 /tag-zsh/config/zsh
parent49eafcd2b0ae0e6d9d812f61dffcf6563ad086b7 (diff)
downloaddotfiles-544384c1882892edc0dc7643e07fe8729b564de8.tar.lz
dotfiles-544384c1882892edc0dc7643e07fe8729b564de8.tar.zst
dotfiles-544384c1882892edc0dc7643e07fe8729b564de8.zip
zsh: Alias 1 to head -n1
Diffstat (limited to 'tag-zsh/config/zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 39ae5ec..9d2da84 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -213,6 +213,7 @@ alias df='df -h'
 alias du='du -h'
 alias md='mkdir -p'
 alias rd='rmdir'
+alias 1='head -n1'
 alias .='source'
 
 ls='\ls'