home/zsh: use new options for zshopt
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
home.sessionVariables = {
|
||||
/*ZDOTDIR = "\"$HOME/\".config/zsh";*/
|
||||
/*HISTFILE = "\"$XDG_STATE_HOME\"/zsh/history";*/
|
||||
};
|
||||
|
||||
programs.z-lua = {
|
||||
enableAliases = true;
|
||||
enableZshIntegration = true;
|
||||
@@ -9,6 +14,16 @@
|
||||
autocd = true;
|
||||
enableCompletion = false;
|
||||
defaultKeymap = "viins";
|
||||
/* dotDir = "\"$XDG_CONFIG_HOME\"/zsh"; */
|
||||
|
||||
setOptions = [
|
||||
"c_bases"
|
||||
"completealiases"
|
||||
"completeinword"
|
||||
"nobeep"
|
||||
"nopromptcr"
|
||||
"notify"
|
||||
];
|
||||
|
||||
shellAliases = {
|
||||
cfind = "${pkgs.cscope}/bin/cscope -C -R -L1";
|
||||
@@ -76,18 +91,8 @@
|
||||
# binds
|
||||
bindkey '^K' fzf-file-widget
|
||||
|
||||
# options
|
||||
setopt nobeep
|
||||
setopt nopromptcr
|
||||
setopt c_bases
|
||||
setopt completeinword
|
||||
setopt completealiases
|
||||
setopt notify
|
||||
|
||||
#
|
||||
RPS1=""
|
||||
|
||||
#
|
||||
function chpwd() {
|
||||
ls;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user