From: Samir Benmendil Date: Thu, 31 Jul 2014 10:21:33 +0000 (+0100) Subject: zsh: remove /extra from path + clean up X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/478f946d01cb4f801eb2c1fdabd510ec93cea477?ds=sidebyside zsh: remove /extra from path + clean up --- diff --git a/zshenv b/zshenv index 7c1e29e..ac4498b 100644 --- a/zshenv +++ b/zshenv @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env zsh export PATH="$HOME/bin:$PATH" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" diff --git a/zshrc b/zshrc index 5604a7c..a25e6fb 100644 --- a/zshrc +++ b/zshrc @@ -20,7 +20,6 @@ typeset -U fpath # make fpath a unique array autoload -U ${fpath[1]}/*(:t) # loads all functions in the first element of fpath # initialise completion -[[ -d "$ZSH_CACHE" ]] || mkdir -p "$ZSH_CACHE" autoload -U compinit; compinit -d "$ZSH_CACHE/zcompdump" # miscelaneous options @@ -36,7 +35,6 @@ setopt dvorak # correct_all uses dvorak typeset -U path # make path a unique array [[ -d ~/.local/bin ]] && path=(~/.local/bin $path) [[ -d ~/bin ]] && path=(~/bin $path) -[[ -d /extra ]] && path=($path /extra/bin /extra/usr/bin /extra/sbin /extra/usr/sbin) [[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools) # source aliases