0
0
Fork 0
mirror of https://github.com/stronk-dev/Tokyo-Night-Linux.git synced 2024-10-17 20:58:16 -04:00
tokyo-night-linux/.bashrc

42 lines
1.1 KiB
Bash
Raw Normal View History

2021-07-19 15:38:48 -04:00
# Or emacs?
2021-07-13 11:26:13 -04:00
export EDITOR=vim
2021-07-19 15:38:48 -04:00
# Append folders containing executeables to your path here
2021-07-18 05:26:12 -04:00
export PATH=/home/$USER/bin:/home/marco/Documents/ddvtech/repo:$PATH
2021-07-19 15:38:48 -04:00
# Number of lines or commands that are stored in memory in a history list while your bash session is ongoing
export HISTSIZE=10000
# how many lines we can remember across sessions
2021-07-13 11:26:13 -04:00
export HISTFILESIZE=10000
export HISTCONTROL=erasedups
export HISTIGNORE='ls:bg:fg:history:du:exit:make'
if [ -e /usr/share/terminfo/s/st-256color ]; then
export TERM='st-256color'
else
export TERM='st'
fi
alias ls='ls --color=auto'
2021-07-19 15:38:48 -04:00
alias clear='clear && neofetch | lolcat'
alias wisdom='fortune | cowsay | lolcat'
2021-07-13 11:26:13 -04:00
2021-07-19 15:38:48 -04:00
# Statusline plugin for vim, bash and others
2021-07-13 11:26:13 -04:00
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
man() {
env LESS_TERMCAP_mb=$'\E[01;31m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
man "$@"
}
2021-07-19 15:38:48 -04:00
2021-07-13 11:26:13 -04:00
# CD to work directory
#cd ~/Documents/ddvtech/