Regenerated
This commit is contained in:
+298
-307
File diff suppressed because it is too large
Load Diff
+10
-19
@@ -1200,27 +1200,18 @@ in
|
|||||||
** =generated/.config/zsh/.zshrc
|
** =generated/.config/zsh/.zshrc
|
||||||
This sets up the zsh in the terminal
|
This sets up the zsh in the terminal
|
||||||
#+BEGIN_SRC bash :tangle generated/.config/zsh/.zshrc :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC bash :tangle generated/.config/zsh/.zshrc :noweb yes :mkdirp yes :eval never
|
||||||
let
|
# Path to syntax highlighting installed by Nix
|
||||||
zshSyntaxHighlighter = "${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh";
|
ZSH_SYNTAX_HIGHLIGHTING="${HOME}/.nix-profile/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
in ''
|
|
||||||
# Load colors
|
|
||||||
autoload -U colors; colors
|
|
||||||
|
|
||||||
# Catppuccin colors
|
# Load syntax highlighting if available
|
||||||
mocha_blue="#89B4FA"
|
if [ -f "$ZSH_SYNTAX_HIGHLIGHTING" ]; then
|
||||||
mocha_peach="#FAB387"
|
source "$ZSH_SYNTAX_HIGHLIGHTING"
|
||||||
mocha_lavender="#B4BEFE"
|
fi
|
||||||
mocha_red="#F38BA8"
|
|
||||||
mocha_green="#A6E3A1"
|
|
||||||
|
|
||||||
PROMPT="%F{$mocha_blue}%n%f@%F{$mocha_peach}%m%f %F{$mocha_lavender}%~%f %F{$mocha_red}$%f "
|
# Initialize Starship prompt
|
||||||
RPROMPT="%F{$mocha_green}%T%f"
|
if command -v starship >/dev/null 2>&1; then
|
||||||
|
eval "$(starship init zsh)"
|
||||||
# Source syntax highlighting
|
fi
|
||||||
if [ -f "${zshSyntaxHighlighter}" ]; then
|
|
||||||
source "${zshSyntaxHighlighter}"
|
|
||||||
fi
|
|
||||||
''
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/modules/traveldroid/apps/emacs/emacs.nix=
|
** =generated/modules/traveldroid/apps/emacs/emacs.nix=
|
||||||
|
|||||||
@@ -1,21 +1,12 @@
|
|||||||
let
|
# Path to syntax highlighting installed by Nix
|
||||||
zshSyntaxHighlighter = "${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh";
|
ZSH_SYNTAX_HIGHLIGHTING="${HOME}/.nix-profile/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
in ''
|
|
||||||
# Load colors
|
|
||||||
autoload -U colors; colors
|
|
||||||
|
|
||||||
# Catppuccin colors
|
# Load syntax highlighting if available
|
||||||
mocha_blue="#89B4FA"
|
if [ -f "$ZSH_SYNTAX_HIGHLIGHTING" ]; then
|
||||||
mocha_peach="#FAB387"
|
source "$ZSH_SYNTAX_HIGHLIGHTING"
|
||||||
mocha_lavender="#B4BEFE"
|
fi
|
||||||
mocha_red="#F38BA8"
|
|
||||||
mocha_green="#A6E3A1"
|
|
||||||
|
|
||||||
PROMPT="%F{$mocha_blue}%n%f@%F{$mocha_peach}%m%f %F{$mocha_lavender}%~%f %F{$mocha_red}$%f "
|
# Initialize Starship prompt
|
||||||
RPROMPT="%F{$mocha_green}%T%f"
|
if command -v starship >/dev/null 2>&1; then
|
||||||
|
eval "$(starship init zsh)"
|
||||||
# Source syntax highlighting
|
fi
|
||||||
if [ -f "${zshSyntaxHighlighter}" ]; then
|
|
||||||
source "${zshSyntaxHighlighter}"
|
|
||||||
fi
|
|
||||||
''
|
|
||||||
|
|||||||
Reference in New Issue
Block a user