update..something
This commit is contained in:
parent
50afc6ed7f
commit
502fdd2149
20
bashrc
20
bashrc
@ -1,7 +1,10 @@
|
|||||||
|
|
||||||
PATH=$HOME/.scripts:/opt:$PATH
|
PATH=$HOME/.scripts:/opt:$PATH
|
||||||
HISTSIZE=999999
|
HISTSIZE=999999
|
||||||
HISTFILESIZE=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
|
#load ble.sh
|
||||||
source ~/.local/share/blesh/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;}
|
cd(){ builtin cd "$@" && pwd > ~/.cache/whereami;}
|
||||||
cdl(){ cd $(cat ~/.cache/whereami);};cdl
|
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 nano='nano -i'
|
||||||
alias hdd='cd /mnt/hdd'
|
alias hdd='cd /mnt/hdd'
|
||||||
|
#########################
|
||||||
|
|
||||||
|
|
||||||
#Adding output colors
|
#Adding output colors
|
||||||
alias ls='ls --color=always'
|
alias ls='ls --color=always'
|
||||||
alias grep='grep --color=always'
|
alias grep='grep --color=auto'
|
||||||
alias less='less -R'
|
alias less='less -R'
|
||||||
|
|
||||||
|
|
||||||
#do math in shell
|
##################### Some cool funcations hehe ###############################
|
||||||
|
# do math in shell
|
||||||
math(){ echo $1 | bc;}
|
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
|
#load neofetch
|
||||||
neofetch
|
neofetch
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Net/ThemeName "Breeze"
|
Net/ThemeName "Breeze-Dark"
|
||||||
Gtk/EnableAnimations 1
|
Gtk/EnableAnimations 1
|
||||||
Gtk/DecorationLayout "icon:minimize,maximize,close"
|
Gtk/DecorationLayout "icon:minimize,maximize,close"
|
||||||
Gtk/PrimaryButtonWarpsSlider 0
|
Gtk/PrimaryButtonWarpsSlider 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user