+ Edited shell config, separate hotkeys from qtile's config.py
This commit is contained in:
parent
c732fd66cc
commit
03bd767041
6 changed files with 296 additions and 247 deletions
33
.zshrc
33
.zshrc
|
@ -1,7 +1,9 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
# colors
|
||||
autoload -U colors && colors
|
||||
|
||||
#XDG
|
||||
# XDG
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
@ -14,7 +16,8 @@ PATH="$HOME/.local/bin${PATH:+:${PATH}}"
|
|||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$XDG_DATA_HOME/oh-my-zsh"
|
||||
export ZSH_CUSTOM="$ZSH"
|
||||
export ZSH_CUSTOM="$ZSH/custom"
|
||||
export PLUGINS="$XDG_DATA_HOME/zsh/plugins"
|
||||
|
||||
# History in cache directory
|
||||
HISTFILE=~/.cache/zsh/zsh_history
|
||||
|
@ -22,14 +25,15 @@ HISTSIZE=1000
|
|||
SAVEHIST=1000
|
||||
|
||||
# Theme
|
||||
ZSH_THEME="spaceship"
|
||||
ZSH_THEME="zi"
|
||||
|
||||
# Plugins
|
||||
plugins=(
|
||||
git
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
# Completion (from Luke Smith)
|
||||
# Basic auto/tab complete:
|
||||
autoload -U compinit
|
||||
zstyle ':completion:*' menu select
|
||||
zmodload zsh/complist
|
||||
compinit
|
||||
_comp_options+=(globdots) # Include hidden files.
|
||||
|
||||
# Default
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
|
@ -46,5 +50,16 @@ export SUDO_ASKPASS=/usr/bin/rofi-askpass
|
|||
#vim
|
||||
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
|
||||
|
||||
#binding/alias
|
||||
[ -f ~/.config/zsh/aliases ] && source ~/.config/zsh/aliases
|
||||
|
||||
# vi mode
|
||||
#bindkey -v
|
||||
#export KEYTIMEOUT=1
|
||||
|
||||
# Plugins
|
||||
plugins=(
|
||||
git
|
||||
zsh-syntax-highlighting
|
||||
)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue