diff --git a/config/.zprofile b/config/.zprofile new file mode 100644 index 0000000..9f9083f --- /dev/null +++ b/config/.zprofile @@ -0,0 +1,9 @@ +# +# ~/.zprofile +# + +# Autostart sway on login +if [[ -z ${DISPLAY} && ${TTY} = /dev/tty1 ]] ; then + exec sway +fi + diff --git a/config/.zshrc b/config/.zshrc index bc12657..3fc3648 100644 --- a/config/.zshrc +++ b/config/.zshrc @@ -10,17 +10,15 @@ export ZSH="$HOME/.oh-my-zsh" # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="mrfortem" -# Uncomment the following line to use case-sensitive completion. -# CASE_SENSITIVE="true" +# Case-sensitive completion. +CASE_SENSITIVE="true" # Uncomment the following line to use hyphen-insensitive completion. # Case-sensitive completion must be off. _ and - will be interchangeable. # HYPHEN_INSENSITIVE="true" -# Uncomment one of the following lines to change the auto-update behavior -# zstyle ':omz:update' mode disabled # disable automatic updates -# zstyle ':omz:update' mode auto # update automatically without asking -# zstyle ':omz:update' mode reminder # just remind me to update when it's time +# Auto-update behavior +zstyle ':omz:update' mode reminder # just remind me to update when it's time # Uncomment the following line to change how often to auto-update (in days). # zstyle ':omz:update' frequency 13 @@ -28,12 +26,6 @@ ZSH_THEME="mrfortem" # Uncomment the following line if pasting URLs and other text is messed up. # DISABLE_MAGIC_FUNCTIONS="true" -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - # Uncomment the following line to enable command auto-correction. # ENABLE_CORRECTION="true" @@ -48,13 +40,8 @@ ZSH_THEME="mrfortem" # much, much faster. # DISABLE_UNTRACKED_FILES_DIRTY="true" -# Uncomment the following line if you want to change the command execution time -# stamp shown in the history command output. -# You can set one of the optional three formats: -# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" -# or set a custom format using the strftime function format specifications, -# see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" +# History timestamp format +# HIST_STAMPS="dd/mm/yyyy" # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder @@ -91,8 +78,6 @@ source $ZSH/oh-my-zsh.sh # For a full list of active aliases, run `alias`. # # Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" alias cp="cp -i" # confirm before overwriting something alias df='df -h' # human-readable sizes alias free='free -m' # show sizes in MB