zsh: display unterminated lines

This commit is contained in:
steveej 2019-07-12 20:01:11 +02:00
parent 4428c88913
commit a4836f3675
2 changed files with 9 additions and 5 deletions

View file

@ -31,9 +31,8 @@ let
exit 1 exit 1
;; ;;
esac esac
'';
terminal = "${pkgs.gnome3.gnome_terminal}/bin/gnome-terminal"; '';
qtileConfig = pkgs.writeScript "qtile_config.py" '' qtileConfig = pkgs.writeScript "qtile_config.py" ''
from libqtile.config import Key, Screen, Group, Drag, Click from libqtile.config import Key, Screen, Group, Drag, Click
@ -98,9 +97,9 @@ key_control = "control"
keys = [ keys = [
# https://github.com/qtile/qtile/blob/develop/libqtile/xkeysyms.py # https://github.com/qtile/qtile/blob/develop/libqtile/xkeysyms.py
Key([key_super], "Return", lazy.spawn("${terminal}")), Key([key_super], "Return", lazy.spawn("${pkgs.roxterm}/bin/roxterm")),
Key([key_super], "backslash", lazy.spawn("${terminal}")), Key([key_super], "backslash", lazy.spawn("${pkgs.roxterm}/bin/roxterm")),
Key([key_super], "apostrophe", lazy.spawn("${terminal}")), Key([key_super], "apostrophe", lazy.spawn("${pkgs.roxterm}/bin/roxterm")),
Key([key_super], "r", lazy.spawncmd()), Key([key_super], "r", lazy.spawncmd()),
Key([key_super], "w", lazy.window.kill()), Key([key_super], "w", lazy.window.kill()),

View file

@ -39,6 +39,11 @@ in {
unsetopt AUTO_CD unsetopt AUTO_CD
source ${channelSources} source ${channelSources}
# print lines without termination
setopt PROMPT_CR
setopt PROMPT_SP
export PROMPT_EOL_MARK=""
''; '';
sessionVariables = { sessionVariables = {