Compare commits
	
		
			No commits in common. "23012f42db1caee057772b9e470c04440c493353" and "244f545182feb42fd7def2e2eccfab240c68a9fb" have entirely different histories.
		
	
	
		
			23012f42db
			...
			244f545182
		
	
		
					 3 changed files with 6 additions and 19 deletions
				
			
		
							
								
								
									
										22
									
								
								.bashrc
									
										
									
									
									
								
							
							
						
						
									
										22
									
								
								.bashrc
									
										
									
									
									
								
							|  | @ -1,4 +1,6 @@ | |||
| # ~/.bashrc: executed by bash(1) for non-login shells. | ||||
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | ||||
| # for examples | ||||
| 
 | ||||
| # If not running interactively, don't do anything | ||||
| case $- in | ||||
|  | @ -7,6 +9,7 @@ case $- in | |||
| esac | ||||
| 
 | ||||
| # don't put duplicate lines or lines starting with space in the history. | ||||
| # See bash(1) for more options | ||||
| HISTCONTROL=ignoreboth | ||||
| 
 | ||||
| # append to the history file, don't overwrite it | ||||
|  | @ -155,12 +158,8 @@ fi | |||
| # Custom dircolors | ||||
| [ -f ~/.dircolors ] && eval "$(dircolors ~/.dircolors)" | ||||
| 
 | ||||
| # Set nvim as the preferred editor if available | ||||
| if [ $(which nvim) ]; then | ||||
|   export EDITOR=nvim | ||||
| fi | ||||
| 
 | ||||
| # Kubernetes | ||||
| export EDITOR=nano | ||||
| alias k9=k9s | ||||
| which kubectl 1> /dev/null && source <(kubectl completion bash) | ||||
| which helm 1> /dev/null && source <(helm completion bash) | ||||
|  | @ -184,16 +183,3 @@ PROMPT_COMMAND="${PROMPT_COMMAND};history -a" | |||
| # Funciton to notify after a long-running command | ||||
| alias bell="echo -e '\a'" | ||||
| 
 | ||||
| # Apply local .bashrc to remote ssh session | ||||
| ssh-custom() { | ||||
|   remote_file=$(mktemp) | ||||
|   if $(ssh "$@" "cat > ${remote_file}" < ~/.bashrc > /dev/null 2>&1); then | ||||
|     # Successfully copied bashrc to the remote. Source it upon ssh | ||||
|     ssh -t "$@" "bash --rcfile ${remote_file}; rm ${remote_file}" | ||||
|   else | ||||
|     # SSH Config specifies a RemoteCommand; connect normally | ||||
|     ssh "$@" | ||||
|   fi | ||||
| } | ||||
| alias sssh=ssh-custom | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										1
									
								
								.tmux/.tmux
									
										
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.tmux/.tmux
									
										
									
									
									
										Symbolic link
									
								
							|  | @ -0,0 +1 @@ | |||
| /home/d_mcknight/.dotfiles/.tmux | ||||
|  | @ -1,6 +1,6 @@ | |||
| return { | ||||
|   "lewis6991/gitsigns.nvim", | ||||
|   tag="v1.0.2", | ||||
|   --branch="v1.0.2", | ||||
|   config = function() | ||||
|     require("gitsigns").setup({}) | ||||
|   end, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue