dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 7ce8cc517d95ffe6e552c5cb68cbb6cc92f9aea7
parent b3adad3d08506326f89d139e96b882c1725775a2
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Mon,  6 Nov 2017 08:05:40 -0500

slight cosmetic changes

Diffstat:
Mlinks/.zshrc | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/links/.zshrc b/links/.zshrc @@ -1,4 +1,5 @@ #### GENERAL + ARCH=$(uname) set -o noclobber # prevent overwriting files with > (override with 1>) @@ -16,6 +17,7 @@ _has() { #### ZSH PLUGINS + source ~/code/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/code/zsh-git-prompt/zshrc.sh @@ -78,6 +80,7 @@ fancy-ctrl-z () { } zle -N fancy-ctrl-z bindkey '^Z' fancy-ctrl-z + # launch $EDITOR with Ctrl-e _editor() { BUFFER="$EDITOR" @@ -104,7 +107,7 @@ bindkey '^g' _editor_fuzzy_grep #### FUNCTIONS AND ALIASES -# + if [[ "$ARCH" != 'Darwin' ]]; then function open() { xdg-open $1 &> /dev/null &disown; } function say() { echo "$@" | festival --tts; }