From 9f8611c0c7e11723aa02ca1a21b5aeeef4ece081 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Thu, 4 Apr 2024 21:30:01 -0400 Subject: [PATCH] add some bash functions and tweak zellij config --- bashrc | 12 ++++++++++++ zellij/config.kdl | 3 +++ 2 files changed, 15 insertions(+) diff --git a/bashrc b/bashrc index 1466e62..5c3a494 100755 --- a/bashrc +++ b/bashrc @@ -149,6 +149,18 @@ do 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 CARGO_TARGET_DIR=/tmp/cargo-target diff --git a/zellij/config.kdl b/zellij/config.kdl index f8d2b00..50f3e90 100644 --- a/zellij/config.kdl +++ b/zellij/config.kdl @@ -329,3 +329,6 @@ mirror_session true // The folder in which Zellij will look for themes // // theme_dir "/path/to/my/theme_dir" + +session_serialization false +