update..something

This commit is contained in:
Shihaam Abdul Rahman 2023-01-09 13:27:29 +05:00
parent 50afc6ed7f
commit 502fdd2149
2 changed files with 16 additions and 6 deletions

18
bashrc
View File

@ -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'
##################### 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

View File

@ -1,4 +1,4 @@
Net/ThemeName "Breeze"
Net/ThemeName "Breeze-Dark"
Gtk/EnableAnimations 1
Gtk/DecorationLayout "icon:minimize,maximize,close"
Gtk/PrimaryButtonWarpsSlider 0