diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-08-06 23:01:08 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-08-06 23:01:08 +0200 |
| commit | 4dfe75ca5ed81a15db036a294fe2a36243413e19 (patch) | |
| tree | bdd5acbec857240e352f04510e1260ab2c9994f3 /.local/bin/scripts/get_zle_keymap_select.sh | |
| parent | 7b13d618f5a90deb36367480ed4c70876fa41095 (diff) | |
| parent | 692db3d7b9b80c1849b283738f6a2fe61ea0cdd2 (diff) | |
| download | dotfiles-4dfe75ca5ed81a15db036a294fe2a36243413e19.tar.gz dotfiles-4dfe75ca5ed81a15db036a294fe2a36243413e19.zip | |
Merge commit '7f5e37f9dc4f834aecdc3f76652d79c0a1d842b0'
Diffstat (limited to '.local/bin/scripts/get_zle_keymap_select.sh')
| -rwxr-xr-x | .local/bin/scripts/get_zle_keymap_select.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/bin/scripts/get_zle_keymap_select.sh b/.local/bin/scripts/get_zle_keymap_select.sh new file mode 100755 index 0000000..1e2eaf4 --- /dev/null +++ b/.local/bin/scripts/get_zle_keymap_select.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Get the value of the zle-keymap-select variable +value=$(print -v zle-keymap-select) + +# Specify the file path to save the value +file_path="~/file.txt" + +# Write the value to the file +echo "$value" > "$file_path" + +# Optionally, you can also print the value to the console +echo "The value of zle-keymap-select is: $value" |
