xnomad & zshrc
This commit is contained in:
		
							parent
							
								
									7cec58210a
								
							
						
					
					
						commit
						8dfa868c2f
					
				
					 2 changed files with 80 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								xnomad
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								xnomad
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,20 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "Ratio": 0.7,
 | 
				
			||||||
 | 
					    "WindowsInMaster": 1,
 | 
				
			||||||
 | 
					    "Hotkeys": {
 | 
				
			||||||
 | 
					        "Swap":          { "key": "s", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "SelectPrev":    { "key": "j", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "SelectNext":    { "key": "k", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "SwapPrev":      { "key": "j", "modifiers": [ "option", "control", "command" ] },
 | 
				
			||||||
 | 
					        "SwapNext":      { "key": "k", "modifiers": [ "option", "control", "command" ] },
 | 
				
			||||||
 | 
					        "FocusDisplay1": { "key": "e", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "FocusDisplay2": { "key": "w", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "ToDisplay1":    { "key": "e", "modifiers": [ "option", "control", "command" ] },
 | 
				
			||||||
 | 
					        "ToDisplay2":    { "key": "w", "modifiers": [ "option", "control", "command" ] },
 | 
				
			||||||
 | 
					        "CycleLayouts":  { "key": " ", "modifiers": [ "option", "control", "command" ] },
 | 
				
			||||||
 | 
					        "IncreaseRatio": { "key": "l", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "DecreaseRatio": { "key": "h", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "MoreMasters":   { "key": ".", "modifiers": [ "option", "control" ] },
 | 
				
			||||||
 | 
					        "FewerMasters":  { "key": ",", "modifiers": [ "option", "control" ] }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										60
									
								
								zshrc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								zshrc
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,60 @@
 | 
				
			||||||
 | 
					zmodload -a colors
 | 
				
			||||||
 | 
					zmodload -a autocomplete
 | 
				
			||||||
 | 
					autoload -U age && age
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export EDITOR='subl -w'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[ -x /usr/bin/dircolors ] && eval $(dircolors)
 | 
				
			||||||
 | 
					zstyle ':completion:*' menu select=2
 | 
				
			||||||
 | 
					zstyle ':completion:*' verbose true
 | 
				
			||||||
 | 
					zstyle ':completion:*' extra-verbose true
 | 
				
			||||||
 | 
					zstyle ':completion:*' use-cache on
 | 
				
			||||||
 | 
					zstyle ':completion:*' cache-path ~/.zsh/cache
 | 
				
			||||||
 | 
					zstyle ':completion:*:approximate:*' max-errors 1 numeric
 | 
				
			||||||
 | 
					zstyle ':completion:*:functions' ignored-patterns '_*'
 | 
				
			||||||
 | 
					zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
 | 
				
			||||||
 | 
					zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -Uz compinit && compinit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setopt autocd autopushd pushdminus pushdsilent pushdtohome
 | 
				
			||||||
 | 
					setopt HIST_REDUCE_BLANKS HIST_IGNORE_SPACE SHARE_HISTORY inc_append_history
 | 
				
			||||||
 | 
					setopt no_hup no_clobber print_exit_value
 | 
				
			||||||
 | 
					setopt extendedglob glob_dots
 | 
				
			||||||
 | 
					setopt correct
 | 
				
			||||||
 | 
					setopt completealiases
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					case $TERM in
 | 
				
			||||||
 | 
					    rxvt|*term)
 | 
				
			||||||
 | 
					        precmd() { print -Pn "\e]0;%m:%~\a" }
 | 
				
			||||||
 | 
					        preexec () { print -Pn "\e]0;$1\a" }
 | 
				
			||||||
 | 
					    ;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -U colors && colors
 | 
				
			||||||
 | 
					PS1="%{%B$fg[blue]%}%n%{$reset_color%B%}@%{%b$fg[magenta]%}%1~ %{$reset_color%}%# "
 | 
				
			||||||
 | 
					### PIERRE: # PS1="%{%B$fg[green]%}%n%{$reset_color%B%}@%{$fg[blue]%}%m %{%b$fg[magenta]%}%1~ %{$reset_color%}%# "
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#RPS1="%M:%d"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					alias ls="ls -liFG"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -Uz compinit && compinit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source ~/.zsh/plugins/history-substring-search.zsh
 | 
				
			||||||
 | 
					source ~/.zsh/plugins/git.plugin.zsh
 | 
				
			||||||
 | 
					source ~/.zsh/plugins/git-extras.plugin.zsh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Customize to your needs...
 | 
				
			||||||
 | 
					export PATH=/Users/vincent/Library/Haskell/bin:/Users/vincent/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/munki
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source /opt/boxen/env.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					alias google.py="/Users/vincent/Source/management-scripts/google-apps/google.py"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					alias runhoogle="screen -dm hoogle server -p 4000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					alias irssi="screen -S irssi irssi"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					HISTFILE="$HOME/.zsh_history"
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue