⚡ bash hooks + vim clean up
This commit is contained in:
@@ -1 +1,2 @@
|
||||
#!/bin/env bash
|
||||
[[ -f "/dev/shm/bash/$BASHPID/oncd" ]] && source "/dev/shm/bash/$BASHPID/oncd"
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/env bash
|
||||
[[ -f "/dev/shm/bash/$BASHPID/onexit" ]] && source "/dev/shm/bash/$BASHPID/onexit"
|
||||
rm -rf /dev/shm/bash/$BASHPID
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#! /bin/env bash
|
||||
if [[ -x /usr/bin/neofetch ]]; then
|
||||
neofetch
|
||||
fi
|
||||
@@ -1,2 +1,3 @@
|
||||
#!/bin/env bash
|
||||
[[ -f "/dev/shm/bash/$BASHPID/onprompt" ]] && source "/dev/shm/bash/$BASHPID/onprompt"
|
||||
history -a
|
||||
|
||||
@@ -10,5 +10,3 @@ shopt -s globstar 2>/dev/null || true # Recursive globbing
|
||||
# Auto-correct
|
||||
shopt -s cdspell
|
||||
shopt -s dirspell 2>/dev/null || true
|
||||
|
||||
[[ -x /usr/bin/neofetch ]] && neofetch
|
||||
|
||||
@@ -5,6 +5,6 @@ export HISTCONTROL="ignoreboth:erasedups"
|
||||
shopt -s histappend cmdhist
|
||||
export HISTFILESIZE=10000
|
||||
export HISTSIZE="$HISTFILESIZE"
|
||||
export HISTIGNORE="?? :but:but rub *:but commit:but ?? ?? :tree:vim:git info:git i:git lazy:git l"
|
||||
export HISTIGNORE="?? :but:but rub *:but commit:but ?? ?? :tree:vim:git:git info:git i:git lazy:git l"
|
||||
|
||||
bind '"\C-@": "\e^I history | grep '\''\e\e^A'\''\e\ei"'
|
||||
|
||||
@@ -39,3 +39,7 @@ Development tool configurations including aliases and environment managers.
|
||||
- Contains development tools and shortcuts
|
||||
- Environment managers handle Java, Node.js, PHP, Gradle versions
|
||||
- Automatically sourced by main `.bashrc`
|
||||
|
||||
## Todo
|
||||
|
||||
- special behaviour inside dolphin? ([`if [[ $(ps -o comm= -p $PPID) == dolphin ]]; then …`](https://unix.stackexchange.com/a/775802))
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
# vim: filetype=bash
|
||||
export OLDPWD="/home/jaandrle/Dokumenty/Projekty/CommaFeedPodcasts"
|
||||
export OLDPWD="/home/jaandrle/Vzdálené/GitHub/facilitator-network-cell"
|
||||
export mwdcp='/home/jaandrle/Vzdálené/GitHub/dcp-fe-container-certifedpassport'
|
||||
export mdde='/home/jaandrle/Vzdálené/GitHub/deka-dom-el'
|
||||
export mwdgf='/home/jaandrle/Vzdálené/GitHub/DGF-Certified-Supervisory-Academy'
|
||||
|
||||
Reference in New Issue
Block a user