updated ssh_config and zshrc

This commit is contained in:
ADRN 2023-07-16 17:00:27 +02:00
parent 3c418d7ac4
commit 928fa7b4b0
6 changed files with 55 additions and 22 deletions

View file

@ -3,5 +3,31 @@ Host rasp
User coloc User coloc
Host spoutnik Host spoutnik
HostName 192.168.1.60 HostName 192.168.1.51
User adrien User adrien
Host abricot ananas concombre celeri courgette dahlia doradille diplotaxis df-ykl df-ymf df-ymk
HostName %h.machine.deuxfleurs.fr
IdentityFile ~/.ssh/deuxfleurs_ed25519
User adrien
LocalForward 14646 127.0.0.1:4646
LocalForward 8501 127.0.0.1:8501
LocalForward 1389 bottin.service.prod.consul:389
LocalForward 5432 psql-proxy.service.prod.consul:5432
Host hammerhead
HostName ns3118584.ip-5-135-179.eu
Port 110
User adrien
IdentityFile ~/.ssh/hammerhead_ed25519
# Synapse port forwarding
LocalForward 8008 172.20.0.11:8008
Host hammerhead_decrypt
HostName ns3118584.ip-5-135-179.eu
Port 2323
User root
IdentityFile ~/.ssh/hammerhead_decrypt
# Prevents signatures mismatch
UserKnownHostsFile ~/.ssh/known_hosts_hammerhead_decrypt
# Fails at home, works with Serenity. Go figure.

View file

@ -183,6 +183,17 @@
"command": "htmlprettify" "command": "htmlprettify"
}, },
// Insert median points instead of dot product
// with Ctrl+Shift+;
{
"keys": ["ctrl+shift+;"],
"command": "insert",
"args": {"characters": "·"},
// "context": {
// "key": "selector",
// }
},
// LaTeX compilation set to Ctrl+Enter // LaTeX compilation set to Ctrl+Enter
// Doesn't work... // Doesn't work...
// { // {

View file

@ -37,7 +37,7 @@
"SublimeLinter-pyflakes", "SublimeLinter-pyflakes",
"SwitchDictionary", "SwitchDictionary",
"Terraform", "Terraform",
"WordCount", "WordingStatus",
], ],
"submit_usage": false, "submit_usage": false,
} }

View file

@ -113,13 +113,19 @@
"accelerometer", "accelerometer",
"geolocalization", "geolocalization",
"dataset", "dataset",
"entr'hébergement",
"immutables",
"intercompatible",
"modularity",
"plagieurs",
"sublissime",
], ],
"close_windows_when_empty": false, "close_windows_when_empty": false,
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme", "color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",
"dictionary": "Packages/Language - English/en_US.dic", "dictionary": "Packages/Language - English/en_US.dic",
"find_selected_text": true, "find_selected_text": true,
"font_face": "Fira Code", "font_face": "Fira Code",
"font_size": 11, "font_size": 12,
"ignored_packages": "ignored_packages":
[ [
"ActionScript", "ActionScript",
@ -141,6 +147,9 @@
"", "",
"Inria", "Inria",
"cloud", "cloud",
"critériées",
"critérées",
"marketisation",
"prequential", "prequential",
], ],
"predawn_findreplace_small": true, "predawn_findreplace_small": true,

View file

@ -2,5 +2,9 @@
"extensions": "extensions":
[ [
"nix" "nix"
] ],
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true
} }

19
zshrc
View file

@ -70,30 +70,12 @@ alias awsdf="aws --endpoint-url https://garage.deuxfleurs.fr"
alias sshfs="sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3" alias sshfs="sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3"
alias sshfs_rasp="sshfs coloc@warez.luxeylab.net:/hdd/shared/ /media/adrien/rasp" alias sshfs_rasp="sshfs coloc@warez.luxeylab.net:/hdd/shared/ /media/adrien/rasp"
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment # You may need to manually set your language environment
export LANG=fr_FR.UTF-8 export LANG=fr_FR.UTF-8
# Preferred editor for local and remote sessions # Preferred editor for local and remote sessions
export EDITOR='vim' export EDITOR='vim'
# Hide username by setting DEFAULT_USER
#export DEFAULT_USER=$USER
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# Set Go environment
#export PATH="$PATH:/usr/local/go/bin"
#export GOPATH=$HOME/goroot
#if [ -d "$GOPATH/bin" ] ; then
# PATH="$PATH:$GOPATH/bin"
#fi
export PATH=$PATH:$HOME/.local/bin export PATH=$PATH:$HOME/.local/bin
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ] ; then
PATH="$PATH:$HOME/bin" PATH="$PATH:$HOME/bin"
@ -109,3 +91,4 @@ if [ -f ~/.zshrc.local ]; then
. ~/.zshrc.local . ~/.zshrc.local
fi fi