From 502fdd2149aedaf1861964c205b8f02cb226d601 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 9 Jan 2023 13:27:29 +0500 Subject: [PATCH] update..something --- bashrc | 20 +++++++++++++++----- config/xsettingsd/xsettingsd.conf | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/bashrc b/bashrc index f077071..2baf2e4 100644 --- a/bashrc +++ b/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 diff --git a/config/xsettingsd/xsettingsd.conf b/config/xsettingsd/xsettingsd.conf index 5f738bd..9a633ab 100644 --- a/config/xsettingsd/xsettingsd.conf +++ b/config/xsettingsd/xsettingsd.conf @@ -1,4 +1,4 @@ -Net/ThemeName "Breeze" +Net/ThemeName "Breeze-Dark" Gtk/EnableAnimations 1 Gtk/DecorationLayout "icon:minimize,maximize,close" Gtk/PrimaryButtonWarpsSlider 0