2022-12-14 20:25:27 +05:00
|
|
|
PATH=$HOME/.scripts:/opt:$PATH
|
2022-11-19 01:23:53 +05:00
|
|
|
HISTSIZE=999999
|
|
|
|
HISTFILESIZE=999999
|
|
|
|
|
|
|
|
|
|
|
|
#load ble.sh
|
|
|
|
source ~/.local/share/blesh/ble.sh
|
|
|
|
|
|
|
|
#load seafly prompt
|
|
|
|
source ~/.bash-seafly-prompt/command_prompt.bash
|
|
|
|
|
|
|
|
|
|
|
|
#always open last dir
|
|
|
|
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'
|
2022-12-14 20:25:27 +05:00
|
|
|
#alias ssh='TERM=xterm-256color ssh'
|
2022-11-19 01:23:53 +05:00
|
|
|
alias ls='ls --color=always'
|
|
|
|
alias grep='grep --color=always'
|
|
|
|
alias nano='nano -i'
|
2022-11-19 01:25:36 +05:00
|
|
|
alias hdd='cd /mnt/hdd'
|
2022-11-19 01:23:53 +05:00
|
|
|
|
|
|
|
|
|
|
|
#do math in shell
|
|
|
|
math(){ echo $1 | bc;}
|
|
|
|
|
|
|
|
#load neofetch
|
|
|
|
neofetch
|