mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-10-31 04:21:15 +01:00 
			
		
		
		
	add config files for zsh
This commit is contained in:
		
							
								
								
									
										11
									
								
								.bashrc
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.bashrc
									
									
									
									
									
								
							| @@ -1,11 +0,0 @@ | ||||
| #!/bin/bash | ||||
| set -o vi | ||||
| stty -ixon # Disable ctrl-s and ctrl-q. | ||||
| shopt -s autocd #Allows you to cd into directory merely by typing the directory name. | ||||
| HISTSIZE= HISTFILESIZE= # Infinite history. | ||||
| export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" | ||||
|  | ||||
| [ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases | ||||
| [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" | ||||
|  | ||||
| pfetch && echo $(vrms) | grep "non-free" | ||||
							
								
								
									
										2
									
								
								.config/bashspecific
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.config/bashspecific
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| #!/bin/bash | ||||
| shopt -s autocd #Allows you to cd into directory without cd | ||||
							
								
								
									
										16
									
								
								.config/shellrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.config/shellrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| #!/bin/bash | ||||
| set -o vi | ||||
| stty -ixon # Disable ctrl-s and ctrl-q. | ||||
|  | ||||
| [ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases | ||||
| [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases | ||||
|  | ||||
| # Load options depending on current shell | ||||
| if [ $(echo $0) = "/bin/zsh" ]; then | ||||
| 	[ -f "$HOME/.config/zspecific" ] && source "$HOME/.config/zspecific" | ||||
| fi | ||||
| if [ $(echo $0) = "/bin/bash" ]; then | ||||
| 	[ -f "$HOME/.config/bashspecific" ] && source "$HOME/.config/bashspecific" | ||||
| fi | ||||
|  | ||||
| pfetch && echo $(vrms) | grep "non-free" | ||||
		Reference in New Issue
	
	Block a user