Commit 2caec13b authored by Dylan Araps's avatar Dylan Araps

term: Fix wrapper scripts in NixOS. Thanks Tdeo.

parent 3e92b3b2
...@@ -2887,9 +2887,9 @@ get_term() { ...@@ -2887,9 +2887,9 @@ get_term() {
term="${name##*/}" term="${name##*/}"
# Fix wrapper names in NixOS. # Fix wrapper names in NixOS.
[[ "$term" == .*-wrapped ]] && { [[ "$term" == .*-wrap* ]] && {
term="${term#.}" term="${term#.}"
term="${term%-wrapped}" term="${term%-wrap*}"
} }
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment