Commit 4f727b1d authored by Dylan Araps's avatar Dylan Araps

term: Fix wrapper scripts in NixOS. Thanks Tdeo.

parent 2caec13b
...@@ -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" == .*-wrap* ]] && { [[ "$distro" == NixOS* && $term == .*-* ]] && {
term="${term#.}" term="${term#.}"
term="${term%-wrap*}" term="${term%-*}"
} }
;; ;;
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