Skip to content

我的fish.config (bashrc)

路径:~/.config/fish/config.fish

set fish_greeting (string replace -r " " "" -- (uptime)) 

alias kt='JAVA_HOME=(archlinux-java-run --max 8 --java-home) kotlin' 
alias py="python3" 
alias lh="ls -lh" 
alias ins="yay -S" 
alias upg="yay -Syu" 
alias su="sudo fish" 
alias scr="scrcpy --max-fps 30 -b 4M -S" 
alias ports="sudo netstat -tulpn | grep LISTEN" 

export PLASMA_USE_QT_SCALING=1 
export FLUTTER_ROOT="$HOME/flutter" 
export ANDROID_HOME="$HOME/Android/Sdk" 

export PATH="$PATH:$HOME/bin:$HOME/.local/bin:$HOME/Android/Sdk/platform-tools:$HOME/.yarn/bin:$HOME/.cargo/bin:$HOME/flutter/bin:$HOME/flutter/bin/cache/dart-sdk/bin:$HOME/.pub-cache/bin"

function share-port
  ssh -R 80:localhost:$argv[1] ssh.localhost.run 
end

Last update: March 26, 2021
Created: March 24, 2021