Skip to content

Commit

Permalink
Remove exa (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
topher200 authored Feb 11, 2024
1 parent d69aae4 commit 30d5360
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
17 changes: 1 addition & 16 deletions files/topherrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ alias dr=lazydocker
alias fd=fdfind
alias fdh='fdfind -H'
alias vim=nvim
alias ll='ls -al'
alias gg=lazygit
alias lg=lazygit
alias rg='rg --smart-case --no-messages'
Expand All @@ -26,22 +27,6 @@ export LESS="-F -X $LESS"
alias '$'=''
alias '$ '=''

# use exa if installed, otherwise use ls
ls() {
if command -v exa >/dev/null 2>&1; then
exa "$@"
else
command ls "$@"
fi
}
ll() {
if command -v exa >/dev/null 2>&1; then
exa -al "$@"
else
command ls -al "$@"
fi
}

# Delete the current branch you're on, leaving you on a detached HEAD
function gdcb {
branch_name=$(git symbolic-ref HEAD --short)
Expand Down
10 changes: 0 additions & 10 deletions scripts/install-slow-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ if [ ! -f /usr/local/bin/viddy ]; then
popd || exit
fi

# TODO: install with 'apt'
# install exa, (not available on Ubuntu 20.04)
if [ ! -f /usr/local/bin/exa ]; then
wget -O /tmp/exa.zip https://github.com/ogham/exa/releases/download/v0.10.0/exa-linux-x86_64-v0.10.0.zip
pushd /tmp || exit
unp exa.zip
sudo mv bin/exa /usr/local/bin
popd || exit
fi

# install Linuxbrew
install_brew() {
if ! command_exists brew; then
Expand Down

0 comments on commit 30d5360

Please sign in to comment.