From 6f4eb063b3f823930c619961e4f8e949be8b6bcd Mon Sep 17 00:00:00 2001 From: Nis Wechselberg Date: Sat, 18 Sep 2021 19:36:39 +0200 Subject: [PATCH] Cleanup Signed-off-by: Nis Wechselberg --- .Xresources | 2 - .clusterssh/clusters | 2 - .clusterssh/config | 69 ------------------- .ssh/config | 26 +------ .zlogin | 3 - .zsh/lib/aliases.zsh | 5 -- .zsh/lib/xenvironment.zsh | 1 - .zshrc | 2 +- .../User/Default (Linux).sublime-keymap | 18 ----- .../User/Preferences.sublime-settings | 20 ------ 10 files changed, 4 insertions(+), 144 deletions(-) delete mode 100644 .Xresources delete mode 100644 .clusterssh/clusters delete mode 100644 .clusterssh/config delete mode 100644 .zsh/lib/xenvironment.zsh delete mode 100644 sublime-text-3/Packages/User/Default (Linux).sublime-keymap delete mode 100644 sublime-text-3/Packages/User/Preferences.sublime-settings diff --git a/.Xresources b/.Xresources deleted file mode 100644 index d66b8a7..0000000 --- a/.Xresources +++ /dev/null @@ -1,2 +0,0 @@ -XTerm*faceName: Hack -XTerm*faceSize: 12 diff --git a/.clusterssh/clusters b/.clusterssh/clusters deleted file mode 100644 index 956ba83..0000000 --- a/.clusterssh/clusters +++ /dev/null @@ -1,2 +0,0 @@ -railway RAILPI0 RAILPI1 RAILPI2 RAILPI3 -netcup MORPHEUS APOC MOUSE SWITCH TANK LINK diff --git a/.clusterssh/config b/.clusterssh/config deleted file mode 100644 index 9d85cb8..0000000 --- a/.clusterssh/config +++ /dev/null @@ -1,69 +0,0 @@ -#auto_close=5 -#auto_quit=yes -#command= -#comms=ssh -#console=console -#console_args= -#console_position= -#debug=0 -#external_cluster_command= -#extra_cluster_file= -#history_height=10 -#history_width=40 -#key_addhost=Control-Shift-plus -#key_clientname=Alt-n -#key_history=Alt-h -#key_localname=Alt-l -#key_macros_enable=Alt-p -#key_paste=Control-v -#key_quit=Alt-q -#key_retilehosts=Alt-r -#key_username=Alt-u -#lang=en -#macro_hostname=%h -#macro_newline=%n -#macro_servername=%s -#macro_username=%u -#macro_version=%v -#macros_enabled=yes -#max_addhost_menu_cluster_items=6 -#max_host_menu_items=30 -#menu_host_autotearoff=0 -#menu_send_autotearoff=0 -#mouse_paste=Button-2 -#rsh=rsh -#rsh_args= -#screen_reserve_bottom=60 -#screen_reserve_left=0 -#screen_reserve_right=0 -#screen_reserve_top=0 -#send_menu_xml_file=/home/enbewe/.clusterssh/send_menu -#sftp=sftp -#sftp_args= -#show_history=0 -#ssh=ssh -#ssh_args= -#telnet=telnet -#telnet_args= -#terminal=xterm -#terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true' -#terminal_args= -#terminal_bg_style=dark -#terminal_colorize=1 -#terminal_decoration_height=10 -#terminal_decoration_width=8 -#terminal_font=10x20 -#terminal_reserve_bottom=0 -#terminal_reserve_left=5 -#terminal_reserve_right=0 -#terminal_reserve_top=5 -terminal_size=100x40 -#terminal_title_opt=-T -#title=CSSH -#unmap_on_redraw=no -#use_all_a_records=0 -#use_hotkeys=yes -#use_natural_sort=0 -#user= -window_tiling=no -#window_tiling_direction=right diff --git a/.ssh/config b/.ssh/config index f03ab54..5919579 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,5 +1,6 @@ +# Don't use hashes in known hosts to allow easier management HashKnownHosts no -RemoteForward 52698 127.0.0.1:52698 +# Don't even try to forward X by default ForwardX11 no @@ -31,22 +32,6 @@ Host LINK Port 22 User nis -Host SWITCH - Hostname switch.enbewe.de - Port 22 - User nis - -Host MOUSE - Hostname mouse.enbewe.de - Port 22 - User nis - -Host BACKUPS - Hostname backups.janiwe.de - Port 22 - User enbewe - IdentityFile ~/.ssh/hosts/de.janiwe.backups-enbewe - Host TOPPOINT Hostname shabang.toppoint.de User enbewe @@ -72,11 +57,6 @@ Host XBMC User root IdentityFile ~/.ssh/hosts/box.fritz.various-various -#Host RX300 -# Hostname enbewe-rx300s6.fritz.box -# User nis -# IdentityFile ~/.ssh/hosts/box.fritz.enbewe-rx300s6-nis - Host QNAP Hostname eNBeWe-QNAP.fritz.box User admin @@ -120,7 +100,7 @@ Host GIT-ONN Port 22 User onn - + ######## ######## ######## #### ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## diff --git a/.zlogin b/.zlogin index d8b227b..18581af 100644 --- a/.zlogin +++ b/.zlogin @@ -1,6 +1,3 @@ -source ~/.rvm/scripts/'rvm' - -PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:/usr/local/sbin:$PATH diff --git a/.zsh/lib/aliases.zsh b/.zsh/lib/aliases.zsh index 2b16635..418b0bd 100644 --- a/.zsh/lib/aliases.zsh +++ b/.zsh/lib/aliases.zsh @@ -2,8 +2,3 @@ alias ll='ls -la' alias lh='ls -lah' alias ...='cd ../..' alias cft='rm -r ~/.cache/thumbnails/fail/' -alias startOVPN='sudo systemctl start openvpn@vpn_enbewe_de.service' -alias stopOVPN='sudo systemctl stop openvpn@vpn_enbewe_de.service' -alias genPDF='for i in *.svg; do inkscape -D -A ${i%.svg}.new.pdf $i; done' -alias cleanPDF='for i in *.new.pdf; do gs -o ${i%.new.pdf}.pdf -sDEVICE=pdfwrite -dColorConversionStrategy=/sRGB -dProcessColorModel=/DeviceRGB $i; rm $i; done' - diff --git a/.zsh/lib/xenvironment.zsh b/.zsh/lib/xenvironment.zsh deleted file mode 100644 index b2b73ca..0000000 --- a/.zsh/lib/xenvironment.zsh +++ /dev/null @@ -1 +0,0 @@ -export XENVIRONMENT="${HOME}/.Xresources" diff --git a/.zshrc b/.zshrc index ed78c44..3c131ea 100644 --- a/.zshrc +++ b/.zshrc @@ -1,6 +1,6 @@ export ZSH=~/.zsh -# Load all of the config files in ~/oh-my-zsh that end in .zsh +# Load all of the config files in ~/.zsh/lib that end in .zsh for config_file ($ZSH/lib/*.zsh) source $config_file # Load and run compinit diff --git a/sublime-text-3/Packages/User/Default (Linux).sublime-keymap b/sublime-text-3/Packages/User/Default (Linux).sublime-keymap deleted file mode 100644 index 8d4a477..0000000 --- a/sublime-text-3/Packages/User/Default (Linux).sublime-keymap +++ /dev/null @@ -1,18 +0,0 @@ -[ - { "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } }, - { "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }, - { "keys": ["ctrl+space"], "command": "auto_complete" }, - { "keys": ["ctrl+alt+shift+p"], - "command": "export_html", - "args": { - "numbers": true, - "wrap": 900, - "browser_print": true, - "multi_select": true, - "color_scheme": "Packages/ExportHtml/ColorSchemes/Print-Color.tmTheme", - "style_gutter": false - } - } - - -] diff --git a/sublime-text-3/Packages/User/Preferences.sublime-settings b/sublime-text-3/Packages/User/Preferences.sublime-settings deleted file mode 100644 index 038c995..0000000 --- a/sublime-text-3/Packages/User/Preferences.sublime-settings +++ /dev/null @@ -1,20 +0,0 @@ -{ - "caret_style": "phase", - "color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", - "ensure_newline_at_eof_on_save": true, - "figlet_font": "banner3", - "font_face": "Hack", - "ignored_packages": - [ - "Vintage" - ], - "save_on_focus_lost": true, - "shift_tab_unindent": true, - "show_encoding": true, - "spell_check": true, - "tab_completion": false, - "tab_size": 2, - "theme": "Spacegray.sublime-theme", - "translate_tabs_to_spaces": true, - "trim_trailing_white_space_on_save": false -}