35 lines
645 B
Bash
35 lines
645 B
Bash
PATH=$HOME/.scripts:/opt:$PATH
|
|
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'
|
|
#alias ssh='TERM=xterm-256color ssh'
|
|
|
|
alias nano='nano -i'
|
|
alias hdd='cd /mnt/hdd'
|
|
|
|
#Adding output colors
|
|
alias ls='ls --color=always'
|
|
alias grep='grep --color=always'
|
|
alias less='less -R'
|
|
|
|
|
|
#do math in shell
|
|
math(){ echo $1 | bc;}
|
|
|
|
#load neofetch
|
|
neofetch
|