Change wacky spacing + update
This commit is contained in:
parent
01b3f6a50b
commit
f4bec84fa3
3 changed files with 9 additions and 9 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit c0f96df97fb159bee954fb787a96205652af4a77
|
Subproject commit e02176aca15905e80dbb38de2a53416cf6460cfe
|
|
@ -1 +1 @@
|
||||||
Subproject commit 66d06f380ef3cbced060b4d514413762a4438fb4
|
Subproject commit 8513febab5c698553acc7ac33f4185fb2da664d2
|
14
zshrc
14
zshrc
|
@ -83,7 +83,7 @@ if [ -d /opt/devkitpro ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
||||||
source /etc/profile.d/vte.sh
|
source /etc/profile.d/vte.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $OSTYPE == darwin* ]]; then
|
if [[ $OSTYPE == darwin* ]]; then
|
||||||
|
@ -92,16 +92,16 @@ if [[ $OSTYPE == darwin* ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -s $HOME/.rvm/scripts/rvm ]; then
|
if [ -s $HOME/.rvm/scripts/rvm ]; then
|
||||||
source "$HOME/.rvm/scripts/rvm"
|
source "$HOME/.rvm/scripts/rvm"
|
||||||
export PATH="$PATH:$HOME/.rvm/bin"
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Adapted from https://github.com/isaacmorneau/dotfiles/blob/882f11172a2c0fd1aa7020d627d2978e5d60f6b0/.bashrc#L125-L130
|
# Adapted from https://github.com/isaacmorneau/dotfiles/blob/882f11172a2c0fd1aa7020d627d2978e5d60f6b0/.bashrc#L125-L130
|
||||||
function mvsane () {
|
function mvsane () {
|
||||||
for F in "$@"
|
for F in "$@"
|
||||||
do
|
do
|
||||||
mv "$F" $(echo "$F" | sed -r 's/[ ]+/_/g;s/[^a-zA-Z0-9_.-]//g;s/[_-]{2,}/-/g;')
|
mv "$F" $(echo "$F" | sed -r 's/[ ]+/_/g;s/[^a-zA-Z0-9_.-]//g;s/[_-]{2,}/-/g;')
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# Personal preferences
|
# Personal preferences
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue