|
|
|
|
@ -36,7 +36,7 @@ HISTSIZE=10000 |
|
|
|
|
HISTFILESIZE=50000 |
|
|
|
|
|
|
|
|
|
# moje vložené ignoruje príkazy |
|
|
|
|
HISTIGNORE=yy*:jw:.:..*:poweroff:reboot:exit |
|
|
|
|
HISTIGNORE=.:\ :..*:poweroff:reboot:exit |
|
|
|
|
#HISTIGNORE=&: :yy*:jw:.:..*:poweroff:reboot:exit |
|
|
|
|
|
|
|
|
|
# check the window size after each command and, if necessary, |
|
|
|
|
@ -144,11 +144,35 @@ if ! shopt -oq posix; then |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists |
|
|
|
|
if [ -d "$HOME/bin" ] ; then |
|
|
|
|
PATH="$HOME/bin:$PATH" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists |
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then |
|
|
|
|
PATH="$HOME/.local/bin:$PATH" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ -d "$HOME/.binenv" ] ; then |
|
|
|
|
PATH="${HOME}/.binenv:$PATH" |
|
|
|
|
source <(binenv completion bash) |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# set PATH so it includes cargo bin if it exists |
|
|
|
|
if [ -d "$HOME/.cargo/bin" ] ; then |
|
|
|
|
export PATH="$HOME/.cargo/bin:$PATH" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# symbolický link do zložky pre rýchly pohyb v zložkách |
|
|
|
|
if [ -d "$HOME/.goto" ]; then |
|
|
|
|
export CDPATH=".:$HOME/.goto:/" |
|
|
|
|
alias goto="cd -P" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
##TMUX pre automatické spustenie -> touch ~/.tmux.auto |
|
|
|
|
if [ -f ~/.tmux.auto ]; then |
|
|
|
|
test -z "$TMUX" && (tmux attach || tmux new-session) |
|
|
|
|
test -z "$TMUX" && (tmux attach || tmux new-session) |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|