mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-26 12:14:25 +01:00
Compare commits
No commits in common. "3e41121fa6e5a851d396dd730bfbc6b8922a68c3" and "8e28c013d5e7545f0caa29b75a352fe879eb0861" have entirely different histories.
3e41121fa6
...
8e28c013d5
17
rc/bashrc
17
rc/bashrc
@ -399,8 +399,9 @@ alias cwho="who -H -w -u"
|
|||||||
#alias inxi-install-root="cd /usr/local/bin;\wget -Nc https://github.com/smxi/inxi/raw/master/inxi;chmod +x inxi;./inxi -U;cd"
|
#alias inxi-install-root="cd /usr/local/bin;\wget -Nc https://github.com/smxi/inxi/raw/master/inxi;chmod +x inxi;./inxi -U;cd"
|
||||||
#alias inxi-update="inxi -U"
|
#alias inxi-update="inxi -U"
|
||||||
|
|
||||||
# FINEID to ssh-agent
|
# FINEID
|
||||||
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
|
#alias ssh-add-fineid="ssh-add -s $(find /usr/*lib -name 'libcryptoki.so')"
|
||||||
|
#alias ssh-add-sc-pub="\ssh-add -L"
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
|
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
|
||||||
@ -524,9 +525,6 @@ then
|
|||||||
alias alsactl="\alsactl -f ~/.config/asound.state"
|
alias alsactl="\alsactl -f ~/.config/asound.state"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# More simple SSH file signing, ~/.ssh/signingkey.pub should be a symlink
|
|
||||||
alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file"
|
|
||||||
|
|
||||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
@ -787,15 +785,6 @@ myip6 () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Easier verifying of SSH signed files: ssh-verify-file whatever@mikaela.info file.txt
|
|
||||||
# It's assumed that signature of file.txt is called as file.txt.sig
|
|
||||||
sshAllowedSigners=$HOME/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
|
|
||||||
ssh-verify-file () {
|
|
||||||
echo "$1 ${2:?Usage: ssh-verify-file <email> <file-to-verify>}" > /dev/null
|
|
||||||
ssh-keygen -Y verify -f $sshAllowedSigners -I $1 -n file -s $2.sig < $2
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Source files for miscannellious modifications.
|
# Source files for miscannellious modifications.
|
||||||
|
|
||||||
# acme.sh
|
# acme.sh
|
||||||
|
17
rc/zshrc
17
rc/zshrc
@ -376,8 +376,9 @@ alias cwho="who -H -w -u"
|
|||||||
#alias inxi-install-root="cd /usr/local/bin;\wget -Nc https://github.com/smxi/inxi/raw/master/inxi;chmod +x inxi;./inxi -U;cd"
|
#alias inxi-install-root="cd /usr/local/bin;\wget -Nc https://github.com/smxi/inxi/raw/master/inxi;chmod +x inxi;./inxi -U;cd"
|
||||||
#alias inxi-update="inxi -U"
|
#alias inxi-update="inxi -U"
|
||||||
|
|
||||||
# FINEID to ssh-agent
|
# FINEID
|
||||||
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
|
#alias ssh-add-fineid="ssh-add -s $(find /usr/*lib -name 'libcryptoki.so')"
|
||||||
|
#alias ssh-add-sc-pub="ssh-add -L"
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
|
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
|
||||||
@ -501,9 +502,6 @@ then
|
|||||||
alias alsactl="\alsactl -f ~/.config/asound.state"
|
alias alsactl="\alsactl -f ~/.config/asound.state"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# More simple SSH file signing, ~/.ssh/signingkey.pub should be a symlink
|
|
||||||
alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file"
|
|
||||||
|
|
||||||
# Allow custom aliases to be put in .aliases or .zsh_aliases .
|
# Allow custom aliases to be put in .aliases or .zsh_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
@ -766,15 +764,6 @@ myip6 () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Easier verifying of SSH signed files: ssh-verify-file whatever@mikaela.info file.txt
|
|
||||||
# It's assumed that signature of file.txt is called as file.txt.sig
|
|
||||||
sshAllowedSigners=$HOME/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
|
|
||||||
ssh-verify-file () {
|
|
||||||
echo "$1 ${2:?Usage: ssh-verify-file <email> <file-to-verify>}" > /dev/null
|
|
||||||
ssh-keygen -Y verify -f $sshAllowedSigners -I $1 -n file -s $2.sig < $2
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Source files for miscannellious modifications.
|
# Source files for miscannellious modifications.
|
||||||
|
|
||||||
# acme.sh
|
# acme.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user