Compare commits
No commits in common. "62bbd80c860d31162038e7b9827eeb35bfa393ca" and "88f30b16aa7d2601192b12eeebde917f3c370570" have entirely different histories.
62bbd80c86
...
88f30b16aa
|
@ -51,12 +51,12 @@
|
|||
};
|
||||
workspaceOutputAssign = [
|
||||
{
|
||||
output = "DP-2";
|
||||
workspace = "1";
|
||||
output = "DP-1";
|
||||
workspace = "2";
|
||||
}
|
||||
{
|
||||
output = "DP-1";
|
||||
workspace = "6";
|
||||
output = "DP-2";
|
||||
workspace = "1";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
shell = "${config.programs.zsh.package}/bin/zsh";
|
||||
shell = "${config.programs.nushell.package}/bin/nu";
|
||||
window = {
|
||||
dynamic_title = true;
|
||||
padding = {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
profiles.onelight = {
|
||||
name = "One-Light";
|
||||
colorScheme = "onelight";
|
||||
command = "${config.programs.zsh.package}/bin/zsh";
|
||||
command = "${config.programs.nushell.package}/bin/nu";
|
||||
font = {
|
||||
inherit (config.stylix.fonts.monospace) name;
|
||||
size = config.stylix.fonts.sizes.terminal;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
fd.enable = true;
|
||||
jq.enable = true;
|
||||
nix-index.enable = true;
|
||||
nushell.enable = true;
|
||||
ripgrep.enable = true;
|
||||
bat = {
|
||||
enable = true;
|
||||
|
@ -96,36 +97,5 @@
|
|||
copy_on_select = true;
|
||||
};
|
||||
};
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autocd = true;
|
||||
autosuggestion.enable = true;
|
||||
defaultKeymap = "emacs";
|
||||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
highlighters = [
|
||||
"brackets"
|
||||
"cursor"
|
||||
];
|
||||
};
|
||||
historySubstringSearch.enable = true;
|
||||
history = {
|
||||
extended = true;
|
||||
share = true;
|
||||
ignoreDups = true;
|
||||
ignoreAllDups = true;
|
||||
ignoreSpace = true;
|
||||
expireDuplicatesFirst = true;
|
||||
};
|
||||
initExtra = ''
|
||||
## completion config and styling
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||
zstyle ':completion:*' menu 'select=long-list'
|
||||
|
||||
## transient prompt
|
||||
source ${./transient.zsh}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -143,8 +143,8 @@
|
|||
disabled = false;
|
||||
format = "using [$indicator]($style)";
|
||||
bash_indicator = " ";
|
||||
zsh_indicator = " ";
|
||||
fish_indicator = " ";
|
||||
nu_indicator = "ν ";
|
||||
powershell_indicator = " ";
|
||||
cmd_indicator = " ";
|
||||
unknown_indicator = " ";
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
zle-line-init() {
|
||||
emulate -L zsh
|
||||
|
||||
[[ $CONTEXT == start ]] || return 0
|
||||
|
||||
while true; do
|
||||
zle .recursive-edit
|
||||
local -i ret=$?
|
||||
[[ $ret == 0 && $KEYS == $'\4' ]] || break
|
||||
[[ -o ignore_eof ]] || exit 0
|
||||
done
|
||||
|
||||
local saved_prompt=$PROMPT
|
||||
local saved_rprompt=$RPROMPT
|
||||
PROMPT=' '
|
||||
RPROMPT=''
|
||||
zle .reset-prompt
|
||||
PROMPT=$saved_prompt
|
||||
RPROMPT=$saved_rprompt
|
||||
|
||||
if ((ret)); then
|
||||
zle .send-break
|
||||
else
|
||||
zle .accept-line
|
||||
fi
|
||||
return ret
|
||||
}
|
||||
|
||||
zle -N zle-line-init
|
Loading…
Reference in a new issue