a7e0bf9d334fbcea98394af9b97ad901336934b1

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Disable autocd in zshrc

Diff

 1diff --git a/dot_aliases b/dot_aliases
 2index 1944e4d73e7645a35df6c84813977a86657681cb..6eae6565737b5040f54cf03ccf0d61f870fb9c65 100644
 3--- a/dot_aliases
 4+++ b/dot_aliases
 5@@ -1,12 +1,14 @@
 6 # vim: ft=zsh
 7 
 8 # General
 9-alias '...'='../..'
10-alias '....'='../../..'
11-alias '.....'='../../../..'
12-alias '......'='../../../../..'
13-alias '.......'='../../../../../..'
14-alias '........'='../../../../../../..'
15+alias '..'='cd ..'
16+alias '...'='cd ../..'
17+alias '....'='cd ../../..'
18+alias '.....'='cd ../../../..'
19+alias '......'='cd ../../../../..'
20+alias '.......'='cd ../../../../../..'
21+alias '........'='cd ../../../../../../..'
22+alias '.........'='cd ../../../../../../../..'
23 alias ls='ls --group-directories-first --color=always --time-style=long-iso'
24 alias cl=clear
25 alias cdl='cd ~/ && cl'
26diff --git a/dot_zshrc b/dot_zshrc
27index 2744fe2bcac1a13873c0b33410386466146e7c96..fdadcc0ddefaae170b0ccf0252bc63119a1235f6 100644
28--- a/dot_zshrc
29+++ b/dot_zshrc
30@@ -5,12 +5,6 @@ HISTSIZE=40000
31 SAVEHIST=40000
32 setopt HIST_IGNORE_DUPS
33 
34-# Misc options
35-setopt autocd extendedglob notify
36-# setopt SOURCE_TRACE
37-unsetopt beep nomatch
38-bindkey -v
39-
40 source ~/.local/share/antigen.zsh
41 export DEFAULT_USER="pavle"
42 
43@@ -45,6 +39,11 @@ fpath=(~/.config/zsh/completions ~/.config/zsh/functions $fpath)
44 autoload -Uz compinit && compinit
45 autoload -Uz ~/.config/zsh/functions/*
46 
47+# Misc options
48+setopt extendedglob notify
49+unsetopt autocd beep nomatch
50+bindkey -v
51+
52 source ~/.aliases
53 
54 # Variable exports