From 84e8059451abdc34fbfaa51d301617499f65c915 Mon Sep 17 00:00:00 2001 From: jwy Date: Fri, 12 Jul 2024 03:11:57 -0400 Subject: [PATCH] Changed directory listing aliases to use eza instead of lsd --- dots/config/alacritty/alacritty.toml | 1 - install.sh | 13 ++++++------- nix-config/home/zsh.nix | 8 ++++---- nix-config/system/packages.nix | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) delete mode 120000 dots/config/alacritty/alacritty.toml diff --git a/dots/config/alacritty/alacritty.toml b/dots/config/alacritty/alacritty.toml deleted file mode 120000 index 2b84f667f..000000000 --- a/dots/config/alacritty/alacritty.toml +++ /dev/null @@ -1 +0,0 @@ -/nix/store/61pqq1cjsd5fj9fyfdnmsp563rwr70nd-home-manager-files/.config/alacritty/alacritty.toml \ No newline at end of file diff --git a/install.sh b/install.sh index 1552838e1..0f863601f 100755 --- a/install.sh +++ b/install.sh @@ -17,20 +17,19 @@ else exit fi +echo "Default options are in brackets []" +echo "Just press enter to select the default" + +echo "-----" read -rp "Enter Your Hostname: [ nix-vm ] " host_name if [ -z "$host_name" ]; then host_name="nix-vm" fi -read -p "Do you want to do an express install? (use defaults)" -n 1 -r +read -p "Do you want to do an express install? [use defaults] " -n 1 -r if [[ $REPLY =~ ^[Nn]$ ]] ; then - echo "Default options are in brackets []" - echo "Just press enter to select the default" - sleep 1 - - echo "-----" - + read -rp "Enter Your Username: [ $current_user_name ] " user_name_response if [ ! -z "$user_name_response" ]; then user_name=$user_name_response diff --git a/nix-config/home/zsh.nix b/nix-config/home/zsh.nix index eeff3df7b..d6b636e9d 100644 --- a/nix-config/home/zsh.nix +++ b/nix-config/home/zsh.nix @@ -76,10 +76,10 @@ lib.mkIf (theShell == "zsh") { gcCleanup="nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot"; cd="z"; v="nvim"; - ls="lsd"; - ll="lsd -al"; - la="lsd -a"; - lal="lsd -al"; + ls="eza -a --icons --git --group-directories-first"; + ll="eza -l --icons --git --group-directories-first"; + la="eza -la --icons --git --group-directories-first"; + lt="eza -la --icons --git --tree --level=2 --group-directories-first"; ".."="cd .."; history="history 0"; nf="nvim $(fzf)"; diff --git a/nix-config/system/packages.nix b/nix-config/system/packages.nix index 2e660ed43..f963617ce 100644 --- a/nix-config/system/packages.nix +++ b/nix-config/system/packages.nix @@ -12,7 +12,7 @@ xdo xdotool xorg.xprop xorg.xkill xorg.xdpyinfo xorg.xsetroot xorg.xwininfo xorg.xrandr # misc helpful utilities - lsd wget curl git unzip unrar virt-viewer ripgrep + eza wget curl git unzip unrar virt-viewer ripgrep fastfetch htop btop stow brightnessctl gparted # other polkit_gnome