Bash and ranger updates
This commit is contained in:
parent
35e4eae55b
commit
9a05608378
|
@ -16,4 +16,5 @@ stow -t ~ newsboat
|
|||
stow -t ~ neovim
|
||||
stow -t ~ bash
|
||||
stow -t ~ weechat
|
||||
stow -t ~ ranger
|
||||
~~~
|
||||
|
|
41
bash/.bashrc
41
bash/.bashrc
|
@ -2,48 +2,31 @@
|
|||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# User specific environment
|
||||
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
|
||||
then
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$HOME/Tools/adr-tools/src:$PATH"
|
||||
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
fi
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$HOME/Tools/adr-tools/src:$HOME/Tools/helm/linux-arm64:$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:
|
||||
# export SYSTEMD_PAGER=
|
||||
|
||||
# User specific aliases and functions
|
||||
if [ -d ~/.bashrc.d ]; then
|
||||
for rc in ~/.bashrc.d/*; do
|
||||
if [ -f "$rc" ]; then
|
||||
. "$rc"
|
||||
fi
|
||||
done
|
||||
for rc in ~/.bashrc.d/*; do
|
||||
if [ -f "$rc" ]; then
|
||||
. "$rc"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
unset rc
|
||||
|
||||
# GIt Prompt
|
||||
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
|
||||
GIT_PROMPT_ONLY_IN_REPO=1
|
||||
source $HOME/.bash-git-prompt/gitprompt.sh
|
||||
fi
|
||||
export EDITOR=nvim
|
||||
|
||||
[ -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
|
||||
|
||||
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
|
||||
complete -C /usr/bin/terraform terraform
|
||||
|
|
|
@ -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 "
|
20553
bash/.oc_completion.sh
20553
bash/.oc_completion.sh
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +0,0 @@
|
|||
export EDITOR="nvr -s --remote"
|
||||
export VISUAL="nvr -s --remote"
|
||||
|
||||
/usr/bin/ranger
|
Loading…
Reference in New Issue