Merge branch 'master' of git.eeleater.org:eeleater/dotfiles
This commit is contained in:
commit
a9bc0624a0
9 changed files with 19 additions and 29 deletions
|
@ -6,3 +6,4 @@
|
|||
~/.nanorc: lib/nano/syntax/nanorc
|
||||
~/.gitconfig: git/gitconfig
|
||||
~/.zshrc: zsh/zshrc
|
||||
~/.ssh/config: sshconfig
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d170ef1363924eaa8f9183c98e5830eb3031d90c
|
||||
Subproject commit fb28eaf1d6c3c697f1e9721ee9ec911b8d0118ec
|
|
@ -1 +1 @@
|
|||
Subproject commit 3d535cab605d13293d1f01ff24f7cac00433ee56
|
||||
Subproject commit 7ea915837f7ca3227fe6ca8e8420e1ec2ae638e0
|
2
lib/fzf
2
lib/fzf
|
@ -1 +1 @@
|
|||
Subproject commit 16b5902aa278639fd99be89abe8ac50eb49b34aa
|
||||
Subproject commit 1896aa174877da2e5c6be35219a0a1abcdc4fbf1
|
|
@ -1 +1 @@
|
|||
Subproject commit b8fa1b9dc954d66748cc5b593f531687f24b8d48
|
||||
Subproject commit aac4a4423898fccbd1ab72c369ac09995a9139f1
|
|
@ -1 +1 @@
|
|||
Subproject commit d2d84b820622d23cd35c1401bea0b79e5ed75f72
|
||||
Subproject commit ee137a16bfc8e4e928215968616a104027f0253a
|
|
@ -1 +1 @@
|
|||
Subproject commit 26aae6b5834e1342d9b95a894a5bb24159b367bf
|
||||
Subproject commit 0b4bba4ca2d6115dabfdb0852ce516e30765d2e6
|
11
sshconfig
Normal file
11
sshconfig
Normal file
|
@ -0,0 +1,11 @@
|
|||
Host web
|
||||
HostName megumi.eeleater.org
|
||||
User eeleater
|
||||
|
||||
Host git
|
||||
HostName git.eeleater.org
|
||||
User eeleater
|
||||
|
||||
Host test
|
||||
HostName test.eeleater.org
|
||||
User eeleater
|
|
@ -13,29 +13,7 @@ pclear () {
|
|||
# Termbin
|
||||
alias tb='nc termbin.com 9999'
|
||||
|
||||
# Create SSL One Line
|
||||
sslcreate() {
|
||||
if [[ "$1" = "create" ]]; then
|
||||
openssl genrsa -out private/$2.key 2048
|
||||
openssl req -new -key private/$2.key -out csr/$2.csr -sha256
|
||||
openssl x509 -req -days 365 -in csr/$2.csr -signkey private/$2.key -out certs/$2.crt
|
||||
fi
|
||||
if [[ "$1" = "clear" ]]; then
|
||||
rm -rf private/$2.key
|
||||
rm -rf csr/$2.csr
|
||||
rm -rf certs/$2.crt
|
||||
fi
|
||||
}
|
||||
|
||||
if [ $(uname -n) = "sayaka" -o $(uname -n) = "kimari" ]; then
|
||||
# SSH Connect
|
||||
sshconnect() {
|
||||
[ $1 = "web" ] && ssh megumi.eeleater.org
|
||||
[ $1 = "git" ] && ssh git.eeleater.org
|
||||
[ $1 = "mail" ] && ssh eeleater.com
|
||||
}
|
||||
fi
|
||||
|
||||
# Make Dir and enter it
|
||||
mkcd() {
|
||||
mkdir $1 >/dev/null 2>&1
|
||||
[ -e $1 ] && cd $1
|
||||
|
|
Loading…
Add table
Reference in a new issue