This commit is contained in:
2026-08-03 14:50:42 +09:00
parent bf28275b40
commit 5edbc6cbb4
+27 -22
View File
@@ -1,7 +1,17 @@
{ {
home.shellAliases = {
"docker-compose" = "docker compose";
lssh =
"ssh"
+ " -o KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1"
+ " -o Ciphers=+aes256-cbc,aes128-cbc"
+ " -o HostKeyAlgorithms=+ssh-rsa"
+ " -o SetEnv=TERM=xterm";
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
@@ -12,28 +22,23 @@
autosuggestion.enable = true; autosuggestion.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
initContent = '' history = {
export HISTSIZE=999999999 size = 999999999;
export HISTFILESIZE=999999999 save = 999999999;
setopt extended_history append = true;
setopt hist_allow_clobber extended = true;
setopt hist_fcntl_lock findNoDups = true;
setopt hist_find_no_dups ignoreAllDups = true;
setopt hist_ignore_all_dups saveNoDups = true;
setopt hist_ignore_dups share = false;
setopt hist_ignore_space };
setopt hist_reduce_blanks
setopt hist_save_no_dups
setopt hist_verify
setopt inc_append_history_time
unsetopt SHARE_HISTORY setOptions = [
setopt APPEND_HISTORY "HIST_ALLOW_CLOBBER"
setopt INC_APPEND_HISTORY_TIME "HIST_REDUCE_BLANKS"
"HIST_VERIFY"
alias docker-compose="docker compose" "INC_APPEND_HISTORY_TIME"
alias lssh='ssh -o KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 -o Ciphers=+aes256-cbc,aes128-cbc -o HostKeyAlgorithms=+ssh-rsa -o SetEnv=TERM=xterm' ];
'';
}; };
} }