Skip to content

Commit

Permalink
fix: correct ls aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Oct 28, 2024
1 parent d6cb918 commit bc1d41d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 7 additions & 1 deletion bash/alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ fi

alias grep="grep --color=auto"
alias vi="vim"
alias ls-la="ls --clolor -la"
alias ls-la="ls --color -la"
alias l="ls -la --color"
function ls-() {
local first_arg="-$1"
shift
command ls --color "$first_arg" "$@"
}

# run emacs tui on terminal instead of emacs itself.
alias emacs="emacs -nw"
Expand Down
7 changes: 0 additions & 7 deletions zsh/zshrc.shared
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ alias grep="grep --color=auto"
alias vi="vim"
alias r="source ~/.zshenv && source ~/.zshrc"
alias emacs="emacs -nw"
alias l="ls -la"
alias ls-la="ls -la"
function ls-(){
local first_arg="-$1"
shift
command ls "$first_arg" "$@"
}

# set up navi

Expand Down

0 comments on commit bc1d41d

Please sign in to comment.