misc. in shell

This commit is contained in:
2025-11-12 17:13:05 +08:00
parent 56a3d11006
commit d934541f8e
2 changed files with 1748 additions and 3 deletions

View File

@@ -5,6 +5,8 @@ alias aliases='cat ~/.bash_aliases'
alias zshrc='source ~/.zshrc'
alias realias='source ~/.bash_aliases'
alias stow="stow -v"
alias unstow="stow -D"
alias restow="stow -R"
alias reload='exec ${SHELL} -l'
alias sudo='sudo ' # enable aliases to be sudoed
alias g='git'
@@ -36,15 +38,17 @@ alias is='type -a'
alias upgrade='sudo apt update && sudo apt upgrade -y && sudo snap refresh'
alias untargz='tar -czf'
alias mkcd="mkdir -p $1 && cd $1"
alias cl='cd $1 && ll'
alias cl="cd $1 && ll"
alias myip='curl http://ipecho.net/plain; echo'
alias ports='netstat -tulpan'
alias ssh.pub='cat ~/.ssh/*.pub'
alias ssh.pub="cat ~/.ssh/*.pub"
alias gpg.new="gpg --full-generate-key"
alias gpg.pub="gpg --armor --export $@"
alias gpg.pub="gpg --armor --export"
alias gpg.list='gpg --list-keys --keyid-format SHORT'
# alias pubkey="more ~/.ssh/id_ed25519.pub | xclip -selection clipboard | echo '=> Public key copied to pasteboard.'"
alias lite-xl="LITE_SCALE=1 lite-xl"
alias wine='LANG=ru_RU.utf8 wine'
alias docker.prune='docker image prune -f; docker network prune -f; docker container prune -f'

1741
shell/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff