mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 11:14:08 +09:00
oh my zsh
This commit is contained in:
@@ -37,3 +37,4 @@ NixOS + Home Manager
|
|||||||
## Inspired
|
## Inspired
|
||||||
|
|
||||||
- [Zaney/zaneyos](https://gitlab.com/Zaney/zaneyos)
|
- [Zaney/zaneyos](https://gitlab.com/Zaney/zaneyos)
|
||||||
|
- [fa0311/.zshrc](https://gist.github.com/fa0311/d37d53ff39c73c54c883379e8e3732df)
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
theme = tokyonight
|
theme = tokyonight
|
||||||
background-blur-radius = 20
|
background-blur-radius = 20
|
||||||
background-opacity = 0.9
|
background-opacity = 0.9
|
||||||
# font-family = BlexMono Nerd Font Mono
|
font-family = BlexMono Nerd Font Mono
|
||||||
font-family = Noto Serif CJK JP
|
|
||||||
mouse-hide-while-typing = true
|
mouse-hide-while-typing = true
|
||||||
window-decoration = true
|
window-decoration = true
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
|
||||||
|
# Oh My Zsh
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
theme = "robbyrussell";
|
||||||
|
plugins = [ "git" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
autosuggestions.enable = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
|
||||||
|
initExtra = ''
|
||||||
|
# ---- from gist: export / history size ----
|
||||||
|
export HISTSIZE=999999999
|
||||||
|
export HISTFILESIZE=999999999
|
||||||
|
|
||||||
|
# ---- from gist: setopt ----
|
||||||
|
setopt extended_history
|
||||||
|
setopt hist_allow_clobber
|
||||||
|
setopt hist_fcntl_lock
|
||||||
|
setopt hist_find_no_dups
|
||||||
|
setopt hist_ignore_all_dups
|
||||||
|
setopt hist_ignore_dups
|
||||||
|
setopt hist_ignore_space
|
||||||
|
# setopt hist_no_functions
|
||||||
|
# setopt hist_no_store
|
||||||
|
setopt hist_reduce_blanks
|
||||||
|
setopt hist_save_no_dups
|
||||||
|
setopt hist_verify
|
||||||
|
setopt inc_append_history_time
|
||||||
|
|
||||||
|
# ---- from gist: aliases ----
|
||||||
|
alias docker-compose="docker compose"
|
||||||
|
alias clearsign='export GPG_TTY=$(tty) && openssl rand -hex 16 | gpg --clearsign'
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user