housekeep: removed eza alias to ls
This commit is contained in:
@@ -20,12 +20,13 @@ command -v tmux >/dev/null && alias tls="tmux ls"
|
||||
command -v tmux >/dev/null && alias tnew="tmux new"
|
||||
command -v tmux >/dev/null && alias tnewt="tmux new -t"
|
||||
|
||||
command -v eza >/dev/null && alias ls="eza --hyperlink --header --git -M --icons=auto --color=never"
|
||||
# command -v eza >/dev/null && alias ls="eza --hyperlink --header --git -M --icons=auto --color=never"
|
||||
alias ls='ls --color=auto --hyperlink'
|
||||
alias ll='ls -alhF'
|
||||
alias la='ls -Ah'
|
||||
alias lsa="ls -lAFhZ"
|
||||
|
||||
alias path="printenv | grep ^PATH= | sed 's/^PATH=//' | tr ':' '\n'"
|
||||
alias path="env | grep ^PATH= | sed 's/^PATH=//' | tr ':' '\n'"
|
||||
command -v fzf >/dev/null && alias path="printenv | grep ^PATH= | sed 's/^PATH=//' | tr ':' '\n' | fzf"
|
||||
|
||||
[ ! -f "$PRETTIER_TEMPLATE" ] || alias cpprc='cp ${PRETTIER_TEMPLATE} .'
|
||||
|
||||
@@ -13,7 +13,7 @@ op() {
|
||||
# %T => Sort by last modified
|
||||
# @ => time displayed in seconds (since 1.1.1970)
|
||||
# %p => Directory path
|
||||
project_dir="$(find -L ~/Code -mindepth 1 -maxdepth 5 -name ".git" -not -path '*/.stversions/*' -printf "%T@ %p\n" | sort -nr | cut -d ' ' -f 2- | xargs dirname | fzf --prompt='Select a project: ')"
|
||||
project_dir="$(find -L ~/Code -mindepth 1 -maxdepth 3 -name ".git" -not -path '*/.stversions/*' -printf "%T@ %p\n" | sort -nr | cut -d ' ' -f 2- | xargs dirname | fzf --prompt='Select a project: ')"
|
||||
|
||||
# Do nothing and return if user cancelled out
|
||||
if [ "$project_dir" = "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user