## ~/.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 mkd="mkdir -v" alias rmd="rmdir -v" 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 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"