Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
|
8c71d70a46 | ||
0c5298af84 | |||
988fd01ab7 |
7 changed files with 28 additions and 8 deletions
|
@ -15,13 +15,31 @@ shopt -s histappend
|
||||||
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
|
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
|
||||||
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
|
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
|
||||||
|
|
||||||
|
if ! shopt -oq posix; then
|
||||||
|
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||||
|
. /usr/share/bash-completion/bash_completion
|
||||||
|
elif [ -f /etc/bash_completion ]; then
|
||||||
|
. /etc/bash_completion
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
while read -r completion ; do source "$completion" ; done < <(find $HOME/.bash_completion/*)
|
||||||
|
|
||||||
# Save working dir on every prompt.
|
# Save working dir on every prompt.
|
||||||
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"; pwd > $HOME/.cwd'
|
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"; pwd > $HOME/.cwd'
|
||||||
export PS1="${Yellow}\d \A ${Off}${Green}\u@\h: ${Off}\w ${Red}\$(parse_branch git)${BRed}\$(parse_branch fossil)${Off}\n-$ "
|
export PS1="${Red}\d \A ${Blue}\u@\h: ${Off}\w ${BGreen}\$(parse_branch git)${BPurple}\$(parse_branch fossil)${Off}\n-$ "
|
||||||
|
|
||||||
|
# set variable identifying the chroot you work in (used in the prompt below)
|
||||||
|
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||||
|
debian_chroot=$(cat /etc/debian_chroot)
|
||||||
|
fi
|
||||||
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
|
# check the window size after each command and, if necessary,
|
||||||
|
# update the values of LINES and COLUMNS.
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
# Use fzf if installed.
|
# Use fzf if installed.
|
||||||
hash fzf 2>/dev/null && eval "$(fzf --bash)"
|
export FZF_DEFAULT_OPTS='--border=horizontal --info=inline --no-reverse --height=30%'
|
||||||
export FZF_DEFAULT_OPTS='--border=horizontal --info=inline --no-reverse --height=50%'
|
|
||||||
|
|
||||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ style = "Block"
|
||||||
TERM = "alacritty"
|
TERM = "alacritty"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 11
|
size = 10
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "monospace"
|
family = "monospace"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[storage]
|
[storage]
|
||||||
driver = "overlay"
|
driver = "overlay"
|
||||||
runroot = "/run/user/1000"
|
runroot = "/run/user/1000"
|
||||||
graphroot = "/home/vladan/.local/share/containers/storage"
|
graphroot = "/home/vladanpopovic/.local/share/containers/storage"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[user]
|
[user]
|
||||||
email = vladanovic@gmail.com
|
email = vladan.popovic@hm.com
|
||||||
name = Vladan Popovic
|
name = Vladan Popovic
|
||||||
[core]
|
[core]
|
||||||
excludesfile = /home/vladan/.config/git/ignore
|
excludesfile = /home/vladan/.config/git/ignore
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"interface": "wlp3s0*",
|
"interface": "wlp*",
|
||||||
"format-wifi": " {essid} ({signalStrength}%)",
|
"format-wifi": " {essid} ({signalStrength}%)",
|
||||||
"format-ethernet": "{ifname}: {ipaddr}/{cidr}",
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr}",
|
||||||
"format-linked": "{ifname} (No IP)",
|
"format-linked": "{ifname} (No IP)",
|
||||||
|
|
|
@ -20,3 +20,5 @@ add_path() case :$PATH: in *:$1:*) ;; *) PATH=$1:$PATH;; esac
|
||||||
add_path $HOME/.local/bin
|
add_path $HOME/.local/bin
|
||||||
add_path $PYTHONUSERBASE/bin
|
add_path $PYTHONUSERBASE/bin
|
||||||
add_path $HOME/.cargo/bin
|
add_path $HOME/.cargo/bin
|
||||||
|
add_path $HOME/.kubectl-plugins:$PATH
|
||||||
|
add_path $PATH:/opt/gradle/gradle-8.8/bin
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
default-cache-ttl 3600
|
default-cache-ttl 3600
|
||||||
pinentry-program /usr/bin/pinentry-qt5
|
pinentry-program /usr/bin/pinentry-gnome3
|
||||||
max-cache-ttl 72000
|
max-cache-ttl 72000
|
||||||
default-cache-ttl 72000
|
default-cache-ttl 72000
|
||||||
max-cache-ttl-ssh 72000
|
max-cache-ttl-ssh 72000
|
||||||
|
|
Loading…
Reference in a new issue