format the repo files
This commit is contained in:
@@ -1,39 +1,37 @@
|
||||
#
|
||||
# Shell
|
||||
#
|
||||
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
autosuggestion.enable = true; # Auto suggest options and highlights syntact, searches in history for options
|
||||
autosuggestion.enable = true; # Auto suggest options and highlights syntact, searches in history for options
|
||||
syntaxHighlighting.enable = true;
|
||||
history.size = 10000;
|
||||
|
||||
oh-my-zsh = { # Extra plugins for zsh
|
||||
oh-my-zsh = {
|
||||
# Extra plugins for zsh
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
plugins = ["git"];
|
||||
#custom = "$HOME/.config/zsh_nix/custom";
|
||||
};
|
||||
|
||||
initContent = ''
|
||||
if [[ $WAYLAND_DISPLAY ]]; then
|
||||
[[ $- != *i* ]] && return
|
||||
[[ -z "$TMUX" ]] && (tmux attach || tmux new-session)
|
||||
fi
|
||||
if [[ $WAYLAND_DISPLAY ]]; then
|
||||
[[ $- != *i* ]] && return
|
||||
[[ -z "$TMUX" ]] && (tmux attach || tmux new-session)
|
||||
fi
|
||||
|
||||
# Spaceship
|
||||
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
||||
autoload -U promptinit; promptinit
|
||||
# source $HOME/.config/shell/shell_init
|
||||
# Hook direnv
|
||||
# emulate zsh -c "$(direnv hook zsh)"
|
||||
# Swag
|
||||
pfetch # Show fetch logo on terminal start
|
||||
eval "$(direnv hook zsh)"
|
||||
eval "$(ssh-agent)"
|
||||
# Spaceship
|
||||
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
||||
autoload -U promptinit; promptinit
|
||||
# source $HOME/.config/shell/shell_init
|
||||
# Hook direnv
|
||||
# emulate zsh -c "$(direnv hook zsh)"
|
||||
# Swag
|
||||
pfetch # Show fetch logo on terminal start
|
||||
eval "$(direnv hook zsh)"
|
||||
eval "$(ssh-agent)"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user