This commit is contained in:
2023-03-13 09:19:24 +05:00
parent d03559fd51
commit 8f63f6fbf8
3 changed files with 44 additions and 65 deletions

13
bashrc
View File

@ -1,10 +1,13 @@
PATH=$HOME/.scripts:/opt:$PATH
PATH=$HOME/.scripts:/opt:/home/shihaam/.local/bin:$HOME/.shortcuts/wineprograms:$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
#export SSH_CA_FILES=/home/shihaam/git/alliedmaldives/ops/ssh-ca
export SSH_CA_FILES=/home/shihaam/.ssh
export SSH_CA_REVOCATION_LIST=$HOME/git/alliedmaldives/ops/ssh-ca/revoked_keys
export SSL_FILES=/home/shihaam/ssl/allied
#load ble.sh
source ~/.local/share/blesh/ble.sh
@ -37,9 +40,11 @@ math(){ echo $1 | bc;}
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);}
root(){ su -c "$@";}
#root(){ su -c "$@";}
# view md file on cli
catmd() { pandoc $1 | lynx -stdin;}
###############################################################################
#load neofetch
neofetch
#neofetch