diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2019-12-21 22:42:39 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2019-12-21 22:42:39 +0000 |
| commit | c9d29d439ca341dd24dd05aede1d94baf13fc3ff (patch) | |
| tree | 3e66c815f693a5150fe02c2f4f9dcc998d3cd4a8 /dotfiles-darwin | |
| parent | 2fcc816c333862c64b768ce3eec3bc41d7ad7471 (diff) | |
Add zsh configuration
Diffstat (limited to 'dotfiles-darwin')
| -rw-r--r-- | dotfiles-darwin/zsh/env | 8 | ||||
| -rw-r--r-- | dotfiles-darwin/zsh/rc | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dotfiles-darwin/zsh/env b/dotfiles-darwin/zsh/env new file mode 100644 index 0000000..d239818 --- /dev/null +++ b/dotfiles-darwin/zsh/env @@ -0,0 +1,8 @@ +# -*- mode: shell-script -*- + +export DOMAIN=$(cut -d. -f2- <<<${HOST}) +export GOPATH=~/Go +export XDG_CACHE_HOME=~/Library/Caches +export XDG_CONFIG_HOME=~/Library/Preferences +export XDG_DATA_HOME=~/Library +export XDG_RUNTIME_DIR=${TMPDIR}org.awhk.runtime-dir diff --git a/dotfiles-darwin/zsh/rc b/dotfiles-darwin/zsh/rc new file mode 100644 index 0000000..019d611 --- /dev/null +++ b/dotfiles-darwin/zsh/rc @@ -0,0 +1,4 @@ +# -*- mode: shell-script -*- + +alias ls='ls -G' +alias lsh='du -a | sort -h' |
