Commit 3e92b3b2 authored by Dylan Araps's avatar Dylan Araps

term: Fix wrapper scripts in NixOS. Thanks Tdeo.

parent f01ebe4a
...@@ -2882,7 +2882,16 @@ get_term() { ...@@ -2882,7 +2882,16 @@ get_term() {
"urxvtd") term="urxvt" ;; "urxvtd") term="urxvt" ;;
*"nvim") term="Neovim Terminal" ;; *"nvim") term="Neovim Terminal" ;;
*"NeoVimServer"*) term="VimR Terminal" ;; *"NeoVimServer"*) term="VimR Terminal" ;;
*) term="${name##*/}" ;;
*)
term="${name##*/}"
# Fix wrapper names in NixOS.
[[ "$term" == .*-wrapped ]] && {
term="${term#.}"
term="${term%-wrapped}"
}
;;
esac esac
done done
......
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