43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
source ~/.rc.func.sh
|
|
|
|
alias s=ssh
|
|
alias sd=sshed
|
|
alias grep='grep --color'
|
|
alias sj='ssh -CqTnN -D :5777'
|
|
alias y='yadm'
|
|
alias yd='yadm diff'
|
|
alias yst='yadm status'
|
|
alias v='vim'
|
|
alias t='tmux'
|
|
alias ta='tmux attach -t'
|
|
alias tas='tmux attach-session'
|
|
alias w='cd /var/www/html'
|
|
alias p='cd `project_folder`'
|
|
alias d='docker'
|
|
alias a='aichat'
|
|
alias at='aichat -r translate'
|
|
if [ "$OS" = "Windows_NT" ]; then
|
|
export AICHAT_CONFIG_FILE=~/.config/aichat/config.yaml
|
|
alias a='aichat.exe'
|
|
alias sd='sshed.exe'
|
|
fi
|
|
|
|
# copilot
|
|
alias '??'='gh copilot suggest'
|
|
alias '?'='gh copilot explain'
|
|
|
|
export PUB_HOSTED_URL="https://pub.flutter-io.cn"
|
|
export FLUTTER_STORAGE_BASE_URL="https://storage.flutter-io.cn"
|
|
export LOCAL_SHARE="$HOME/.local/share"
|
|
export CHROME_EXECUTABLE=/usr/bin/microsoft-edge-stable
|
|
export GOPATH="$LOCAL_SHARE/go"
|
|
export GEM_HOME=~/.gems
|
|
export PATH="$HOME/.cargo/bin:$GEM_HOME/bin:$HOME/.local/share/python/bin:$LOCAL_SHARE/flutter/bin:$GOPATH/bin:$LOCAL_SHARE/godev/bin:$HOME/.local/bin:$PATH"
|
|
export PATH="/opt/homebrew/Cellar/ruby/3.3.4/bin:$PATH"
|
|
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
|
|
export EDITOR=vim
|
|
export UID=$UID
|
|
export GID=$GID
|
|
|
|
yupdate
|