remove zsh from glooder config
This commit is contained in:
parent
b0185b66f8
commit
97a905d46d
@ -4,77 +4,4 @@
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.packages = with pkgs; [ zsh-powerlevel9k ];
|
||||
|
||||
programs.htop = {
|
||||
enable = true;
|
||||
meters.left = [
|
||||
"LeftCPUs"
|
||||
"Blank"
|
||||
"Memory"
|
||||
{
|
||||
kind = "Uptime";
|
||||
mode = 4;
|
||||
}
|
||||
];
|
||||
meters.right = [ "RightCPUs" "Blank" "CPU" ];
|
||||
fields = [
|
||||
"USER"
|
||||
"PRIORITY"
|
||||
"NICE"
|
||||
"M_RESIDENT"
|
||||
"PERCENT_MEM"
|
||||
"PERCENT_CPU"
|
||||
"TIME"
|
||||
"COMM"
|
||||
];
|
||||
showProgramPath = false;
|
||||
showThreadNames = true;
|
||||
delay = 10;
|
||||
cpuCountFromZero = true;
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
oh-my-zsh.enable = true;
|
||||
oh-my-zsh.plugins = [ "powerlevel9k" ];
|
||||
|
||||
localVariables = {
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
TERM = "xterm-256color";
|
||||
DEFAULT_USER = "glooder";
|
||||
|
||||
POWERLEVEL9K_MODE = "awesome-fontconfig";
|
||||
POWERLEVEL9K_DIR_PATH_SEPARATOR = " ";
|
||||
POWERLEVEL9K_SHORTEN_DIR_LENGTH = "4";
|
||||
POWERLEVEL9K_SHORTEN_STRATEGY = "truncate_middle";
|
||||
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD = "0.3";
|
||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS =
|
||||
[ "status" "command_execution_time" ];
|
||||
POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER = "true";
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
export PATH=~/.bin:$PATH
|
||||
|
||||
eval $(thefuck --alias)
|
||||
|
||||
source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme
|
||||
function edt() {
|
||||
if [ "$TERM_PROGRAM" = "vscode" ]; then
|
||||
codium $@
|
||||
else
|
||||
vi $@
|
||||
fi
|
||||
}
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
code = "codium";
|
||||
node = "node --experimental-repl-await";
|
||||
ls = "lsd";
|
||||
bp = "npm version patch && npm publish && git push";
|
||||
nano = "edt";
|
||||
vi = "edt";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user