fix l command
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
export RC="~/.bash_aliases"
|
||||
export PATH=/usr/bin:$PATH
|
||||
alias build="docker build ."
|
||||
alias run="docker build . -t temp && docker run --rm temp"
|
||||
|
||||
alias rc="vi $RC && tail $RC && source $HOME/.${SHELL##*/}rc"
|
||||
alias bat="batcat --paging=never"
|
||||
cd() { clear; echo "$(pwd)/$*"; echo; command cd "$@" && ls -lh --color=auto; echo; }
|
||||
|
||||
alias my="sudo chown -R $(id -u):$(id -g)"
|
||||
|
||||
alias l="command ls -lh --color=auto"
|
||||
alias ls="command ls -alh --color=auto"
|
||||
alias l="clear; pwd; echo; command ls -lh --color=auto"
|
||||
alias ls="clear; pwd; echo; command ls -alh --color=auto"
|
||||
|
||||
alias ns="watch -n 0.1 nvidia-smi"
|
||||
log() {
|
||||
@@ -120,9 +123,26 @@ git() {
|
||||
fi
|
||||
}
|
||||
|
||||
alias c="clear"
|
||||
alias weather="curl ko.wttr.in"
|
||||
|
||||
alias dryblack="clear; black --check --diff --color ."
|
||||
alias compose="docker compose"
|
||||
alias compsoe="compose"
|
||||
alias ps="ps ux"
|
||||
clone() { git clone "https://git.yauk.tv/$@"; }
|
||||
|
||||
ign() {
|
||||
for item in "$@"; do
|
||||
if [ -d "$item" ]; then
|
||||
echo "$item/" >> .gitignore
|
||||
echo "Added directory: $item/ to .gitignore"
|
||||
elif [ -f "$item" ]; then
|
||||
echo "$item" >> .gitignore
|
||||
echo "Added file: $item to .gitignore"
|
||||
else
|
||||
echo "Warning: $item does not exist"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
alias r="redis-cli"
|
||||
|
||||
Reference in New Issue
Block a user