diff options
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -36,6 +36,10 @@ dict() { | |||
36 | curl dict://dict.org/d:$* | 36 | curl dict://dict.org/d:$* |
37 | } | 37 | } |
38 | 38 | ||
39 | sip() { | ||
40 | curl https://ipinfo.io/$* | ||
41 | } | ||
42 | |||
39 | # Enable colors and change prompt: | 43 | # Enable colors and change prompt: |
40 | autoload -U colors && colors | 44 | autoload -U colors && colors |
41 | fpath+=$HOME/.zsh/pure | 45 | fpath+=$HOME/.zsh/pure |
@@ -50,7 +54,7 @@ zstyle ':completion:*' menu select | |||
50 | zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' | 54 | zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' |
51 | zmodload zsh/complist | 55 | zmodload zsh/complist |
52 | compinit | 56 | compinit |
53 | _comp_options+=(globdots) # Include hidden files. | 57 | #_comp_options+=(globdots) # Include hidden files. |
54 | 58 | ||
55 | # vi mode | 59 | # vi mode |
56 | bindkey -v | 60 | bindkey -v |