@@ -30,39 +30,35 @@ These are some ZSH settings I've found to be helpful.
30
30
See the [ bashrc] ( environment/bashrc ) page for more useful settings.
31
31
32
32
``` bash
33
- # Path to oh-my-zsh
34
- export ZSH=/Users/crux/.oh-my-zsh
33
+ # If you come from bash you might have to change your $PATH.
34
+ # export PATH=$HOME/bin:/usr/local/bin:$PATH
35
35
36
- # How often to auto-update (in days).
36
+ export ZSH= " /home/jinx/.oh-my-zsh "
37
37
export UPDATE_ZSH_DAYS=7
38
38
39
- # Command auto-correction
40
- ENABLE_CORRECTION=" true"
41
-
42
- # User configuration
43
- source /usr/local/share/antigen/antigen.zsh
39
+ source $ZSH /oh-my-zsh.sh
44
40
45
- # Set up antigen
46
- antigen use oh-my-zsh
41
+ ZSH_THEME=" agnoster"
42
+ ENABLE_CORRECTION=" true"
43
+ # DISABLE_MAGIC_FUNCTIONS=true
44
+ # COMPLETION_WAITING_DOTS="true"
47
45
48
- # Bundle install
49
- antigen bundle git
50
- antigen bundle git-extras
51
- antigen bundle pip
52
- antigen bundle brew
53
- antigen bundle python
54
- antigen bundle zlsun/solarized-man
55
- antigen bundle command-not-found
56
- antigen bundle pylint
46
+ plugins=(git)
57
47
58
- # Load a theme
59
- antigen theme KuoE0/oh-my-zsh-solarized-powerline-theme solarized-powerline
48
+ # Aliases
49
+ alias ohmyzsh=" code ~/.oh-my-zsh"
50
+ alias ua=" sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean -y"
51
+ alias updatethefuck=" pip3 install thefuck --upgrade"
60
52
61
- # Tell antigen you're done
62
- antigen apply
53
+ # The fuck
54
+ eval $( thefuck --alias )
63
55
64
- # Syntax highlighting
65
- source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
56
+ # Preferred editor for local and remote sessions
57
+ # if [[ -n $SSH_CONNECTION ]]; then
58
+ # export EDITOR='vim'
59
+ # else
60
+ # export EDITOR='mvim'
61
+ # fi
66
62
```
67
63
68
64
## Caveats
0 commit comments