diff options
author | Tyler Davis <tyler@gluecode.net> | 2024-05-08 02:39:53 +0000 |
---|---|---|
committer | Tyler Davis <tyler@gluecode.net> | 2024-05-08 02:39:53 +0000 |
commit | f8bd43d79286e3a142c7728081a2705542f9eeb8 (patch) | |
tree | 9098955c87c66058a349734734599153e4bc9977 /.profile | |
parent | cfea4592bf0d1e4d5632daa208a084719543c2aa (diff) | |
download | dotfiles-f8bd43d79286e3a142c7728081a2705542f9eeb8.tar.gz dotfiles-f8bd43d79286e3a142c7728081a2705542f9eeb8.zip |
bin: posix all the things
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 23 |
1 files changed, 7 insertions, 16 deletions
@@ -84,8 +84,14 @@ fi # Ensure less always uses the one-page, raw control characters, and no-init settings export LESS=FRX + # Defaults -alias ls='/bin/ls -F' +alias ls='/bin/ls -F-h -A -D "%F %H:%M:%S"' +alias ll='/bin/ls -F-h -A -D "%F %H:%M:%S" -l' + +alias dua='du -h -d 1 | sort -h' + +alias upcode="find ~/.code -name \".git\" -exec fetchgit {} \;" ## Zstd always uses all cores if [ "$(command -v zstd)" ]; then @@ -101,14 +107,6 @@ if [ -d "$HOME/.cargo/bin" ]; then export PATH=$HOME/.cargo/bin:$PATH fi -if [ "$(command -v eza)" ]; then - alias ls='eza -G --color never -a -s type -F --time-style=long-iso' - alias ll='eza -l -b --color never -a -s type -F --time-style=long-iso' -elif [ "$(command -v exa)" ]; then - alias ls='exa -G --color never -a -s type -F --time-style=long-iso' - alias ll='exa -l -b --color never -a -s type -F --time-style=long-iso' -fi - if [ "$(command -v bat)" ]; then alias cat='bat -pp' export BAT_THEME="ansi" @@ -118,13 +116,6 @@ if [ "$(command -v ncdu)" ]; then alias ncdu="ncdu --color=off" fi -#upcode alias for quickly updating code where gitrect cannot -if [ "$(command -v fd)" ]; then - alias upcode="fd -H -t d -E mod -E vendor \".git$\" ~/.code -x fetchgit" -else - alias upcode="find ~/.code -name \".git\" |xargs -n1 fetchgit " -fi - # Must put these after OSX setup so brew is part of the $PATH # Colima / Podman if [ $(command -v colima) ]; then |