Bash and ranger updates

This commit is contained in:
jfm 2024-04-24 21:25:07 +02:00
parent 35e4eae55b
commit 9a05608378
5 changed files with 13 additions and 20589 deletions

View File

@ -16,4 +16,5 @@ stow -t ~ newsboat
stow -t ~ neovim stow -t ~ neovim
stow -t ~ bash stow -t ~ bash
stow -t ~ weechat stow -t ~ weechat
stow -t ~ ranger
~~~ ~~~

View File

@ -2,48 +2,31 @@
# Source global definitions # Source global definitions
if [ -f /etc/bashrc ]; then if [ -f /etc/bashrc ]; then
. /etc/bashrc . /etc/bashrc
fi fi
# User specific environment # User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
then PATH="$HOME/.local/bin:$HOME/bin:$PATH"
PATH="$HOME/.local/bin:$HOME/bin:$HOME/Tools/adr-tools/src:$PATH"
fi fi
PATH="$HOME/.local/bin:$HOME/bin:$HOME/Tools/adr-tools/src:$HOME/Tools/helm/linux-arm64:$PATH"
export PATH export PATH
JAVA_HOME=/usr/lib/jvm/java-16
export JAVA_HOME
# Uncomment the following line if you don't like systemctl's auto-paging feature: # Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER= # export SYSTEMD_PAGER=
# User specific aliases and functions # User specific aliases and functions
if [ -d ~/.bashrc.d ]; then if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then if [ -f "$rc" ]; then
. "$rc" . "$rc"
fi fi
done done
fi fi
unset rc unset rc
# GIt Prompt export EDITOR=nvim
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source $HOME/.bash-git-prompt/gitprompt.sh
fi
[ -f ~/.fzf.bash ] && source ~/.fzf.bash alias comms="/home/jfm/Repositories/tmux-scripts/comms.sh ."
alias dev="/home/jfm/Repositories/tmux-scripts/setup_development.sh ."
alias k9s=/home/jfm/Tools/k9s/k9s complete -C /usr/bin/terraform terraform
alias vtmux="tmux split-window -v -p 40"
alias dtmux="tmux split-window -h -p 40"
alias ptmux="tmux split-window -h -p 40 \; split-window -v -p 25"
alias code="cd /home/jfm/Customers/Nuuday/code"
EDITOR=nvim
export EDITOR

View File

@ -1,3 +0,0 @@
set show-mode-in-prompt on
set vi-cmd-mode-string "\1\e[2 q\2C "
set vi-ins-mode-string "\1\e[6 q\2I "

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +0,0 @@
export EDITOR="nvr -s --remote"
export VISUAL="nvr -s --remote"
/usr/bin/ranger