add some bash functions and tweak zellij config

This commit is contained in:
Travis Burtrum 2024-04-04 21:30:01 -04:00
parent 7b3650196c
commit 9f8611c0c7
Signed by: moparisthebest
GPG Key ID: 88C93BFE27BC8229
2 changed files with 15 additions and 0 deletions

12
bashrc
View File

@ -149,6 +149,18 @@ do
done <<< "${@:-$(cat /dev/stdin)}" done <<< "${@:-$(cat /dev/stdin)}"
} }
function dvorak() {
qwerty="-=qwertyuiop[]asdfghjkl;zxcvbnm,./_+QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>?'"
dvorak="[]',.pyfgcrl/=aoeuidhtns;qjkxbmwvz{}\"<>PYFGCRL?+AOEUIDHTNS_:QJKXBMWVZ-"
tr -- "$qwerty" "$dvorak"
}
function qwerty() {
qwerty="-=qwertyuiop[]asdfghjkl;zxcvbnm,./_+QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>?'"
dvorak="[]',.pyfgcrl/=aoeuidhtns;qjkxbmwvz{}\"<>PYFGCRL?+AOEUIDHTNS_:QJKXBMWVZ-"
tr -- "$dvorak" "$qwerty"
}
#export RUSTC_WRAPPER=sccache #export RUSTC_WRAPPER=sccache
export CARGO_TARGET_DIR=/tmp/cargo-target export CARGO_TARGET_DIR=/tmp/cargo-target

View File

@ -329,3 +329,6 @@ mirror_session true
// The folder in which Zellij will look for themes // The folder in which Zellij will look for themes
// //
// theme_dir "/path/to/my/theme_dir" // theme_dir "/path/to/my/theme_dir"
session_serialization false