diff options
| -rw-r--r-- | .zshrc | 48 |
1 files changed, 3 insertions, 45 deletions
| @@ -12,46 +12,21 @@ ZSH_THEME="spaceship" | |||
| 12 | SPACESHIP_CHAR_SYMBOL="δ" | 12 | SPACESHIP_CHAR_SYMBOL="δ" |
| 13 | SPACESHIP_CHAR_SUFFIX=" " | 13 | SPACESHIP_CHAR_SUFFIX=" " |
| 14 | 14 | ||
| 15 | # Uncomment the following line to use case-sensitive completion. | ||
| 16 | # CASE_SENSITIVE="true" | ||
| 17 | |||
| 18 | # Uncomment the following line to use hyphen-insensitive completion. Case | ||
| 19 | # sensitive completion must be off. _ and - will be interchangeable. | ||
| 20 | # HYPHEN_INSENSITIVE="true" | ||
| 21 | |||
| 22 | # Uncomment the following line to disable bi-weekly auto-update checks. | ||
| 23 | # DISABLE_AUTO_UPDATE="true" | ||
| 24 | |||
| 25 | # Uncomment the following line to change how often to auto-update (in days). | ||
| 26 | # export UPDATE_ZSH_DAYS=13 | ||
| 27 | |||
| 28 | # Uncomment the following line to disable colors in ls. | ||
| 29 | # DISABLE_LS_COLORS="true" | ||
| 30 | # Uncomment the following line to disable auto-setting terminal title. | ||
| 31 | # DISABLE_AUTO_TITLE="true" | ||
| 32 | |||
| 33 | # Uncomment the following line to enable command auto-correction. | ||
| 34 | # ENABLE_CORRECTION="true" | ||
| 35 | |||
| 36 | # Uncomment the following line to display red dots whilst waiting for completion. | 15 | # Uncomment the following line to display red dots whilst waiting for completion. |
| 37 | COMPLETION_WAITING_DOTS="true" | 16 | COMPLETION_WAITING_DOTS="true" |
| 38 | 17 | ||
| 39 | # Uncomment the following line if you want to disable marking untracked files | 18 | # Uncomment the following line if you want to disable marking untracked files |
| 40 | # under VCS as dirty. This makes repository status check for large repositories | 19 | # under VCS as dirty. This makes repository status check for large repositories |
| 41 | # much, much faster. | 20 | # much, much faster. |
| 42 | # DISABLE_UNTRACKED_FILES_DIRTY="true" | 21 | DISABLE_UNTRACKED_FILES_DIRTY="true" |
| 43 | 22 | ||
| 44 | # Uncomment the following line if you want to change the command execution time | 23 | # Uncomment the following line if you want to change the command execution time |
| 45 | # stamp shown in the history command output. | 24 | # stamp shown in the history command output. |
| 46 | # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | 25 | # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" |
| 47 | # HIST_STAMPS="mm/dd/yyyy" | 26 | HIST_STAMPS="yyy-mm-dd" |
| 48 | |||
| 49 | # Would you like to use another custom folder than $ZSH/custom? | ||
| 50 | # ZSH_CUSTOM=/path/to/new-custom-folder | ||
| 51 | 27 | ||
| 52 | # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | 28 | # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) |
| 53 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | 29 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
| 54 | # Example format: plugins=(rails git textmate ruby lighthouse) | ||
| 55 | # Add wisely, as too many plugins slow down shell startup. | 30 | # Add wisely, as too many plugins slow down shell startup. |
| 56 | plugins=( | 31 | plugins=( |
| 57 | aws | 32 | aws |
| @@ -69,11 +44,6 @@ source $ZSH/oh-my-zsh.sh | |||
| 69 | 44 | ||
| 70 | # User configuration | 45 | # User configuration |
| 71 | 46 | ||
| 72 | # export MANPATH="/usr/local/man:$MANPATH" | ||
| 73 | |||
| 74 | # You may need to manually set your language environment | ||
| 75 | # export LANG=en_US.UTF-8 | ||
| 76 | |||
| 77 | # Preferred editor for local and remote sessions | 47 | # Preferred editor for local and remote sessions |
| 78 | if [[ -n $SSH_CONNECTION ]]; then | 48 | if [[ -n $SSH_CONNECTION ]]; then |
| 79 | export EDITOR='nvim' | 49 | export EDITOR='nvim' |
| @@ -81,19 +51,7 @@ else | |||
| 81 | export EDITOR='nvim' | 51 | export EDITOR='nvim' |
| 82 | fi | 52 | fi |
| 83 | 53 | ||
| 84 | #[[ $TMUX = "" ]] && export TERM="xterm-256color" | 54 | # aliases |
| 85 | |||
| 86 | # Compilation flags | ||
| 87 | # export ARCHFLAGS="-arch x86_64" | ||
| 88 | |||
| 89 | # ssh | ||
| 90 | # export SSH_KEY_PATH="~/.ssh/rsa_id" | ||
| 91 | |||
| 92 | # Set personal aliases, overriding those provided by oh-my-zsh libs, | ||
| 93 | # plugins, and themes. Aliases can be placed here, though oh-my-zsh | ||
| 94 | # users are encouraged to define aliases within the ZSH_CUSTOM folder. | ||
| 95 | # For a full list of active aliases, run `alias`. | ||
| 96 | |||
| 97 | alias v='nvim' | 55 | alias v='nvim' |
| 98 | alias nt='neomutt' | 56 | alias nt='neomutt' |
| 99 | alias bashrc='nvim ~/.zshrc && source ~/.zshrc' | 57 | alias bashrc='nvim ~/.zshrc && source ~/.zshrc' |
