Skip to content

Commit

Permalink
Changed directory listing aliases to use eza instead of lsd
Browse files Browse the repository at this point in the history
  • Loading branch information
jwyuen committed Jul 12, 2024
1 parent 1757fae commit 84e8059
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion dots/config/alacritty/alacritty.toml

This file was deleted.

13 changes: 6 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions nix-config/home/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
Expand Down
2 changes: 1 addition & 1 deletion nix-config/system/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84e8059

Please sign in to comment.