]> arthur.barton.de Git - ax-zsh.git/commitdiff
Coding style: Don't quote alias names
authorAlexander Barton <alex@barton.de>
Sun, 16 Aug 2015 11:32:56 +0000 (13:32 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 16 Aug 2015 11:32:56 +0000 (13:32 +0200)
default_plugins/std_aliases/std_aliases.zshrc
plugins/git/git.zshrc
plugins/gnupg/gnupg.zshrc

index 5cb4015b269d43c4dd653c4cdae1285d3d45fee8..70877ebdd3e6823e874e7a9c12201762df6ea1ad 100644 (file)
@@ -1,10 +1,10 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # std_aliases: Setup standard aliases
 
-alias ".."="cd .."
+alias ..="cd .."
 
-alias "ll"="ls -hl"
-alias "l"="ll -a"
+alias ll="ls -hl"
+alias l="ll -a"
 
 alias lasth='last | head -n "$((LINES-1))"'
 alias lastf='last | grep -v "^$LOGNAME"'
index 11ac2be692d8098e7785f51c2e5ace47d5d35c53..dedce7e2bb6dbb748143a1ac28a317501b29cdc5 100644 (file)
@@ -44,8 +44,8 @@ git_prompt() {
 
 ax_vcs_prompt_functions=($ax_vcs_prompt_functions git_prompt)
 
-alias "ga"="git add"
-alias "gc"="git commit"
-alias "gd"="git diff"
-alias "gdc"="git diff --cached"
-alias "gst"="git status --short --branch --untracked"
+alias ga="git add"
+alias gc="git commit"
+alias gd="git diff"
+alias gdc="git diff --cached"
+alias gst="git status --short --branch --untracked"
index e1b008ac2652ea105fda59f091bde121e9c69698..23c0a9a1604ef7755e08859407c30e3835e3ebf9 100644 (file)
@@ -7,6 +7,6 @@ if (( $+commands[gpg2] )); then
 
        if ! (( $+commands[gpg])); then
                # gpg2 is available, but no gpg: alias it!
-               alias "gpg"="gpg2"
+               alias gpg="gpg2"
        fi
 fi