diff options
author | John Ankarstrom <john@ankarstrom.se> | 2021-06-30 17:57:05 +0200 |
---|---|---|
committer | John Ankarstrom <john@ankarstrom.se> | 2021-06-30 17:57:05 +0200 |
commit | 52459d675081abc13a502d08d35768338d787867 (patch) | |
tree | 0354c138c7073d851e0f658ada31f2c0f3766d6c /utf8 | |
parent | e6a259ee963d9ccf993c957c0687ea8231f14bf4 (diff) | |
download | xutil-52459d675081abc13a502d08d35768338d787867.tar.gz |
utf8, iso8859-1: Set xterm encoding
Diffstat (limited to 'utf8')
-rwxr-xr-x | utf8 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ #!/bin/sh export LC_ALL=en_US.UTF-8 -exec "$@" +case "$XTERM_SHELL" in +$0) echo -n '%G'; exec "$@" ;; +'') exec "$@" ;; +*) echo -n '%G'; "$@"; echo -n '%@' ;; +esac |