Commits

Panagiotis Mavrogiorgos committed 17b96ee

update zshrc

Comments (0)

Files changed (1)

+#!/bin/zsh
+#
+# ~/.zshrc
+#
+
+#-------------------------------------------------------------------------------
+# Oh-my-zsh stuff
+#-------------------------------------------------------------------------------
 # Path to your oh-my-zsh configuration.
 ZSH=$HOME/.oh-my-zsh
 
 # Set to this to use case-sensitive completion
 #CASE_SENSITIVE="true"
 
-# Comment this out to disable weekly auto-update checks
+# Comment this out to disable bi-weekly auto-update checks
 # DISABLE_AUTO_UPDATE="true"
 
+# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
+# export UPDATE_ZSH_DAYS=13
+
 # Uncomment following line if you want to disable colors in ls
 # DISABLE_LS_COLORS="true"
 
 
 source $ZSH/oh-my-zsh.sh
 
+#-------------------------------------------------------------------------------
 # Customize to your needs...
+#-------------------------------------------------------------------------------
+# Set keyboard layout switcher
+setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,gr
+
+
+# enable autocompletion
+autoload -U compinit; compinit;
+
+# enable change prompts on-the-fly
+autoload -U promptinit; promptinit;
+
+# Set customization folder
 ZSH_CUSTOMIZATIONS=$HOME/.dotfiles/zsh
 
-source $ZSH_CUSTOMIZATIONS/aliases
-source $ZSH_CUSTOMIZATIONS/key-bindings
+# Source customization files
+source $ZSH_CUSTOMIZATIONS/aliases.zsh
+source $ZSH_CUSTOMIZATIONS/key-bindings.zsh
 
-# Set keyboard layout switcher
-setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,gr