Compare commits
3 commits
ed5a753b19
...
e98353216a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e98353216a | ||
|
|
5a2fa40fa7 | ||
|
|
44727ebf9a |
3 changed files with 28 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# vim: set ft=bash :
|
||||||
|
|
||||||
# don't put duplicate lines or those starting with spacein history
|
# don't put duplicate lines or those starting with spacein history
|
||||||
export HISTCONTROL=ignorespace:ignoredups
|
export HISTCONTROL=ignorespace:ignoredups
|
||||||
|
|
@ -23,18 +24,36 @@ if [[ "$PATH" != *"$HOME/bin"* ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bind 'set mark-symlinked-directories on'
|
bind 'set mark-symlinked-directories on'
|
||||||
|
|
||||||
export EDITOR='/usr/bin/env nvim'
|
export EDITOR='/usr/bin/env nvim'
|
||||||
export VISUAL='/usr/bin/env nvim'
|
export VISUAL='/usr/bin/env nvim'
|
||||||
|
|
||||||
if command -v fzf >/dev/null; then
|
if command -v fzf >/dev/null; then
|
||||||
eval "$(fzf --bash)" >/dev/null
|
eval "$(fzf --bash)" >/dev/null
|
||||||
else
|
else
|
||||||
printf "%sfzf not installed; shell integration not available.%s\n" "\[\e[90m\]" "$reset"
|
printf "\33[90mfzf not installed; shell integration not available.\33[0m\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
function conf() {
|
function conf() {
|
||||||
fname="${XDG_CONFIG_HOME:-$HOME/.config}/$1"
|
test -s "$1" && source "$1"
|
||||||
test -f "$fname" && source "$fname"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
conf bash/cmds.bash
|
conf "$XDG_CONFIG_HOME/bash/cmds.bash"
|
||||||
|
|
||||||
|
{{- if has "indeed" .class }}
|
||||||
|
# Setup INDEED_ENV_DIR earlier.
|
||||||
|
if [ -z "${INDEED_ENV_DIR}" ]; then
|
||||||
|
export INDEED_ENV_DIR="/home/rperce/env"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Single-brace syntax because this is required in bash and sh alike
|
||||||
|
if [ -e "${INDEED_ENV_DIR}/etc/indeedrc" ]; then
|
||||||
|
. "${INDEED_ENV_DIR}/etc/indeedrc"
|
||||||
|
fi
|
||||||
|
# END env Setup -- Managed by Ansible DO NOT EDIT.
|
||||||
|
|
||||||
|
conf "$HOME/.indeed-kube-profile"
|
||||||
|
conf "$HOME/.cargo/env"
|
||||||
|
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
[window]
|
[window]
|
||||||
padding = { x = 4, y = 8 }
|
padding = { x = 4, y = 8 }
|
||||||
|
opacity = 0.95
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "Fantasque Sans Mono", style = "Regular" }
|
normal = { family = "Fantasque Sans Mono", style = "Regular" }
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
|
bind -Tcopy-mode-vi 'v' send -X begin-selection
|
||||||
|
bind -Tcopy-mode-vi 'y' send -X copy-selection-and-cancel
|
||||||
|
|
||||||
set -g status on
|
set -g status on
|
||||||
set -g status-style bg=colour235,fg=brightblack
|
set -g status-style bg=colour235,fg=brightblack
|
||||||
set -g status-left-length 50
|
set -g status-left-length 50
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue