## ~/.bashrc # #| |__ __ _ ___| |__ _ __ ___ #| '_ \ / _` / __| '_ \| '__/ __| #| |_) | (_| \__ \ | | | | | (__ #|_.__/ \__,_|___/_| |_|_| \___| # # If not running interactively, don't do anything [[ $- != *i* ]] && return #neofetch small alias ls='ls --color=auto' PS1='[\u@\h \W]\$ ' export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" #export PS1="[\u@\h ~]\\$\[$(tput sgr0)\]" #export PS1="\[$(tput bold)\]\[$(tput setaf 3)\][\[$(tput setaf 1)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 3)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" #auto cd ## Allows you to cd into directory merely by typing the directory name. shopt -s autocd #vi mode in bash (uncomment after expertise) #set -o vi #Solana path env 13-9-21 export PATH="/home/saumit/.local/share/solana/install/active_release/bin:$PATH" #infinite history HISTSIZE= HISTFILESIZE= #timecodes in bash history :)) HISTTIMEFORMAT="%d/%m/%y %T " #Some aliases alias t="teams" alias w="whatsapp-nativefier" alias v="vim" alias sv="sudo vim" alias r="ranger" alias sr="sudo ranger" alias space="ncdu" alias mkd="mkdir -v" alias rmd="rmdir -v" #git alias gc="git commit" alias gd="git diff" alias glg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n''%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" alias jds="export _JAVA_AWT_WM_NONREPARENTING=1" alias jd="jdownloader" alias scr="ffmpeg -f x11grab -i :0.0 out.mp4" alias ss="maim --select | tee ~/Pictures/Screenshots/pic-full-$(date '+%Y-%m-%d--%H-%M-%S').png | xclip -selection clipboard -t image/png" alias pas="pulseaudio --start" alias pak="pulseaudio --kill" alias pm="pulsemixer" alias sp="spotify" alias b="brave" alias bb="brave --incognito" alias bbb="brave --tor" alias hab="brave habitica.com" alias toggl="brave track.toggl.com/timer" alias br="brightnessctl set " alias rs="redshift -P -O" alias prime="prime-run " #hardware acceleration needed? command "$ prime [name of program]" alias st="cd st" alias dwm="cd dwm" alias yt="ytfzf -t" alias ytm="ytfzf -ml" alias ytq="ytfzf -faH" alias leaf="notepadqq" alias setntp="timedatectl set-ntp true" alias q="exit"