update..something
This commit is contained in:
		
							
								
								
									
										20
									
								
								bashrc
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								bashrc
									
									
									
									
									
								
							@@ -1,7 +1,10 @@
 | 
			
		||||
 | 
			
		||||
PATH=$HOME/.scripts:/opt:$PATH
 | 
			
		||||
HISTSIZE=999999
 | 
			
		||||
HISTFILESIZE=999999
 | 
			
		||||
export GPG_TTY=$(tty) #Set GPG_TTY veriable, needed for signing git commits other gpg stuff
 | 
			
		||||
 | 
			
		||||
export SSH_CA_FILES=/home/shihaam/git/alliedmaldives/ops/ssh-ca
 | 
			
		||||
 | 
			
		||||
#load ble.sh
 | 
			
		||||
source ~/.local/share/blesh/ble.sh
 | 
			
		||||
@@ -14,21 +17,28 @@ source ~/.bash-seafly-prompt/command_prompt.bash
 | 
			
		||||
cd(){ builtin cd "$@" && pwd > ~/.cache/whereami;}
 | 
			
		||||
cdl(){ cd $(cat ~/.cache/whereami);};cdl
 | 
			
		||||
 | 
			
		||||
#alias ssh='TERM=xterm ssh -o StrictHostKeyChecking=no'
 | 
			
		||||
#alias ssh='TERM=xterm ssh'
 | 
			
		||||
#alias ssh='TERM=xterm-256color ssh'
 | 
			
		||||
 | 
			
		||||
####### ALIASES ##########
 | 
			
		||||
alias nano='nano -i'
 | 
			
		||||
alias hdd='cd /mnt/hdd'
 | 
			
		||||
#########################
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#Adding output colors
 | 
			
		||||
alias ls='ls --color=always'
 | 
			
		||||
alias grep='grep --color=always'
 | 
			
		||||
alias grep='grep --color=auto'
 | 
			
		||||
alias less='less -R'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#do math in shell
 | 
			
		||||
##################### Some cool funcations hehe ###############################
 | 
			
		||||
# do math in shell
 | 
			
		||||
math(){ echo $1 | bc;}
 | 
			
		||||
# Simpleway to see IP resolved to DNS record
 | 
			
		||||
checkip(){ dig $1 +short;}
 | 
			
		||||
# search for term and edit first file with that specific text
 | 
			
		||||
edit(){ nano $(grep $1 * -R | awk '{print $1}'|cut -f1 -d ':' | head -n1);}
 | 
			
		||||
###############################################################################
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#load neofetch
 | 
			
		||||
neofetch
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Net/ThemeName "Breeze"
 | 
			
		||||
Net/ThemeName "Breeze-Dark"
 | 
			
		||||
Gtk/EnableAnimations 1
 | 
			
		||||
Gtk/DecorationLayout "icon:minimize,maximize,close"
 | 
			
		||||
Gtk/PrimaryButtonWarpsSlider 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user