mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-11-04 09:16:36 +00:00 
			
		
		
		
	~/ cleanup parameters added
set new location for vim's bundle (to keep it organized)
This commit is contained in:
		
							parent
							
								
									357903d5b6
								
							
						
					
					
						commit
						a48ea78ab6
					
				
					 2 changed files with 13 additions and 8 deletions
				
			
		| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
" TODO: Spell Checking
 | 
					" TODO: Spell Checking
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set nocompatible				" Disable vi compatibilty (Use vi improved only)
 | 
					set nocompatible				" Disable vi compatibilty (Use vi improved only) - required for Vundle
 | 
				
			||||||
set encoding=utf-8				" Use UTF-8
 | 
					set encoding=utf-8				" Use UTF-8
 | 
				
			||||||
syntax enable					" Turn on syntax highlighting
 | 
					syntax enable					" Turn on syntax highlighting
 | 
				
			||||||
set showmatch					" Show matching brackets
 | 
					set showmatch					" Show matching brackets
 | 
				
			||||||
| 
						 | 
					@ -80,7 +80,7 @@ map <C-p> "+P
 | 
				
			||||||
autocmd BufWritePre * %s/\s\+$//e
 | 
					autocmd BufWritePre * %s/\s\+$//e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Vundle Init
 | 
					" Vundle Init
 | 
				
			||||||
set rtp+=~/.vim/bundle/Vundle.vim
 | 
					set rtp+=~/.local/share/vim/bundle/Vundle.vim
 | 
				
			||||||
call vundle#begin()
 | 
					call vundle#begin()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Plugins
 | 
					" Plugins
 | 
				
			||||||
| 
						 | 
					@ -96,8 +96,6 @@ Plugin 'vim-syntastic/syntastic'		" Syntax checking
 | 
				
			||||||
Plugin 'PotatoesMaster/i3-vim-syntax'	" Add syntax for i3 config
 | 
					Plugin 'PotatoesMaster/i3-vim-syntax'	" Add syntax for i3 config
 | 
				
			||||||
Plugin 'jmcantrell/vim-virtualenv'		" Manage Virtual Enviroment
 | 
					Plugin 'jmcantrell/vim-virtualenv'		" Manage Virtual Enviroment
 | 
				
			||||||
Plugin 'wakatime/vim-wakatime'			" Install WakaTime (Shows coding time)
 | 
					Plugin 'wakatime/vim-wakatime'			" Install WakaTime (Shows coding time)
 | 
				
			||||||
Plugin 'gko/vim-coloresque'				" Show color highlight in css/html/less/sass
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
" Vundle End
 | 
					" Vundle End
 | 
				
			||||||
call vundle#end()
 | 
					call vundle#end()
 | 
				
			||||||
filetype plugin indent on
 | 
					filetype plugin indent on
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										15
									
								
								files/.zshrc
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								files/.zshrc
									
										
									
									
									
								
							| 
						 | 
					@ -8,6 +8,7 @@ HISTFILE=$ZSH_CACHE/history
 | 
				
			||||||
# Move .zsh-update to $ZSH_CACHE
 | 
					# Move .zsh-update to $ZSH_CACHE
 | 
				
			||||||
[ -f ~/.zsh-update ] && mv ~/.zsh-update $ZSH_CACHE/.zsh-update
 | 
					[ -f ~/.zsh-update ] && mv ~/.zsh-update $ZSH_CACHE/.zsh-update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export ZSH_COMPDUMP="$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Export oh-my-zsh location as $ZSH
 | 
					# Export oh-my-zsh location as $ZSH
 | 
				
			||||||
| 
						 | 
					@ -33,8 +34,8 @@ autoload -U colors && colors
 | 
				
			||||||
autoload -U compinit
 | 
					autoload -U compinit
 | 
				
			||||||
zstyle ':completion:*' menu select
 | 
					zstyle ':completion:*' menu select
 | 
				
			||||||
zmodload zsh/complist
 | 
					zmodload zsh/complist
 | 
				
			||||||
compinit
 | 
					compinit -d $ZSH_COMPDUMP
 | 
				
			||||||
_comp_options+=(globdots)
 | 
					comp_options+=(globdots)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Setup aliases
 | 
					# Setup aliases
 | 
				
			||||||
[ -f ~/.config/sh/.aliases ] && source ~/.config/sh/.aliases
 | 
					[ -f ~/.config/sh/.aliases ] && source ~/.config/sh/.aliases
 | 
				
			||||||
| 
						 | 
					@ -45,11 +46,17 @@ export XDG_CACHE_HOME="$HOME/.cache"
 | 
				
			||||||
export XDG_DATA_HOME="$HOME/.local/share"
 | 
					export XDG_DATA_HOME="$HOME/.local/share"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ~/ Clean-up
 | 
					# ~/ Clean-up
 | 
				
			||||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # Might break some DMs
 | 
					export WGETRC="$XDG_CONFIG_HOME"/wget/wgetrc
 | 
				
			||||||
export WGETRC="$HOME/.config/wget/wgetrc"
 | 
					 | 
				
			||||||
export LESSHISTFILE="-"
 | 
					export LESSHISTFILE="-"
 | 
				
			||||||
export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc
 | 
					export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc
 | 
				
			||||||
 | 
					export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
 | 
				
			||||||
 | 
					export WAKATIME_HOME="$XDG_CONFIG_HOME"/wakatime
 | 
				
			||||||
 | 
					export KDEHOME="$XDG_CONFIG_HOME"/kde
 | 
				
			||||||
 | 
					export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
 | 
				
			||||||
 | 
					export GNUPGHOME="$XDG_DATA_HOME"/gnupg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Add ~/Personal/Shell-Scripts to PATH
 | 
				
			||||||
 | 
					PATH+=":$HOME/.scripts"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Load zsh-syntax-highlighting (should be last)
 | 
					# Load zsh-syntax-highlighting (should be last)
 | 
				
			||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 | 
					source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue