diff --git a/README.md b/README.md index 8097107..d9bfb12 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -# wiki \ No newline at end of file +# wiki + +```shell +mkdir -p ~/.config && cd ~/.config +git clone https://git.yauk.tv/jay817/wiki +ln -s $(pwd)/wiki/linux-bash/bash_aliases.sh ~/.bash_aliases +RC="$HOME/.${SHELL##*/}rc" && echo $RC +source "$RC" +``` diff --git a/bash_aliases.sh b/linux-bash/bash_aliases.sh similarity index 96% rename from bash_aliases.sh rename to linux-bash/bash_aliases.sh index e6efe82..8b03e11 100644 --- a/bash_aliases.sh +++ b/linux-bash/bash_aliases.sh @@ -1,7 +1,7 @@ export RC="~/.bash_aliases" alias rc="vi $RC && tail $RC && source $HOME/.${SHELL##*/}rc" -alias l="ls -al --color=auto" +alias l="ls -l --color=auto" alias ls="ls -al --color=auto" alias ns="watch -n 0.1 nvidia-smi" alias log="docker compose logs -f" # compose V2 @@ -9,8 +9,6 @@ alias i="sudo apt-get install -y" alias debian="docker run -it --rm --gpus all python bash" alias download="huggingface-cli download" alias journal="sudo journalctl -u" -alias bsah="bash" # common typing error -alias pyhton="python" # common typing error alias make="make -j" export GGML_CUDA=1 @@ -25,6 +23,11 @@ alias dpkg="sudo dpkg" alias systemctl="sudo systemctl" alias service="sudo service" +alias bsah="bash" # common typing error +alias pyhton="python" # common typing error +alias stauts="status" +alias stuats="status" + dash() { sudo docker run -it --rm "$1" bash; } alias nuc="ssh 192.168.12.2" alias mac="ssh jaewooklee@192.168.12.45" diff --git a/vimrc.vimrc b/linux-bash/vimrc.vimrc similarity index 100% rename from vimrc.vimrc rename to linux-bash/vimrc.vimrc