From b106d0844a4b0b47790f85f81c88a75ccd2aec89 Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Tue, 24 Sep 2024 15:43:35 +0200 Subject: [PATCH] 2024-09-24 Signed-off-by: Tuan-Dat Tran --- config/.config/i3/config | 3 +- config/.config/polybar/config.ini | 187 ++++++++++++++++++++++++ config/.local/share/ranger/bookmarks | 25 +--- config/.ssh/config | 30 +++- vim/.config/nvim/lazy-lock.json | 40 ++--- vim/.config/nvim/spell/en.utf-8.add | 70 +++++++++ vim/.config/nvim/spell/en.utf-8.add.spl | Bin 1445 -> 2240 bytes zsh/.zshrc | 19 +-- 8 files changed, 315 insertions(+), 59 deletions(-) create mode 100644 config/.config/polybar/config.ini diff --git a/config/.config/i3/config b/config/.config/i3/config index d7f91f6..ba47c4b 100644 --- a/config/.config/i3/config +++ b/config/.config/i3/config @@ -93,7 +93,8 @@ exec --no-startup-id udiskie exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc exec --no-startup-id dunst exec --no-startup-id ~/.scripts/startup.sh -exec --no-startup-id syncthing serve --no-browser +exec --no-startup-id polybar +exec --no-startup-id syncthing serve --no-browser exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/basic/* ############################################################################### diff --git a/config/.config/polybar/config.ini b/config/.config/polybar/config.ini new file mode 100644 index 0000000..ceeed41 --- /dev/null +++ b/config/.config/polybar/config.ini @@ -0,0 +1,187 @@ +[colors] +background=#1e1e2e +background-alt = #373B41 +foreground = #C5C8C6 +primary = #F0C674 +secondary = #8ABEB7 +alert = #A54242 +disabled = #707880 + +[bar/example] +width = 100% +height = 24pt +radius = 6 + +; dpi = 96 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3pt + +border-size = 4pt +border-color = #00000000 + +padding-left = 0 +padding-right = 1 + +module-margin = 1 + +separator = | +separator-foreground = ${colors.disabled} + +font-0 = monospace;2 + +modules-left = battery xwindow +modules-right = filesystem memory cpu wlan eth xkeyboard pulseaudio date systray + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + +; wm-restack = generic +; wm-restack = bspwm +; wm-restack = i3 + +; override-redirect = true + +; This module is not active by default (to enable it, add it to one of the +; modules-* list above). +; Please note that only a single tray can exist at any time. If you launch +; multiple bars with this module, only a single one will show it, the others +; will produce a warning. Which bar gets the module is timing dependent and can +; be quite random. +; For more information, see the documentation page for this module: +; https://polybar.readthedocs.io/en/stable/user/modules/tray.html +[module/systray] +type = internal/tray + +format-margin = 8pt +tray-spacing = 16pt + +[module/xworkspaces] +type = internal/xworkspaces + +label-active = %name% +label-active-background = ${colors.background-alt} +label-active-underline= ${colors.primary} +label-active-padding = 1 + +label-occupied = %name% +label-occupied-padding = 1 + +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 1 + +label-empty = %name% +label-empty-foreground = ${colors.disabled} +label-empty-padding = 1 + +[module/xwindow] +type = internal/xwindow +label = %title:0:60:...% + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% + +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.disabled} + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume-prefix = "VOL " +format-volume-prefix-foreground = ${colors.primary} +format-volume = + +label-volume = %percentage%% + +label-muted = muted +label-muted-foreground = ${colors.disabled} + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +label-layout = %layout% +label-layout-foreground = ${colors.primary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-foreground = ${colors.background} +label-indicator-background = ${colors.secondary} + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = "RAM " +format-prefix-foreground = ${colors.primary} +label = %percentage_used:2%% + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = "CPU " +format-prefix-foreground = ${colors.primary} +label = %percentage:2%% + +[network-base] +type = internal/network +interval = 5 +format-connected = +format-disconnected = +label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected + +[module/wlan] +inherit = network-base +interface-type = wireless +label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% + +[module/eth] +inherit = network-base +interface-type = wired +label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% + +[module/date] +type = internal/date +interval = 1 + +date = %H:%M +date-alt = %Y-%m-%d %H:%M:%S + +label = %date% +label-foreground = ${colors.primary} + +[module/battery] +type = internal/battery + +; This is useful in case the battery never reports 100% charge +; Default: 100 +full-at = 99 + +; format-low once this charge percentage is reached +; Default: 10 +; New in version 3.6.0 +low-at = 10 + +; Use the following command to list batteries and adapters: +; $ ls -1 /sys/class/power_supply/ +battery = BAT0 +adapter = AC + +poll-interval = 5 +label-charging = %{F#F0C674}BAT%{F-} %percentage%% +label-discharging = %{F#F0C674}BAT%{F-} %percentage%% + +[settings] +screenchange-reload = true +pseudo-transparency = true + +; vim:ft=dosini diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index 14dc678..7ece60f 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -1,19 +1,6 @@ -u:/home/tuan/Documents/Uni/Studium -p:/home/tuan/Documents/Protokolle/FSE -o:/home/tuan/.dotfiles/config -m:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-machine-learning/mvr -a:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK -l:/home/tuan/Local -c:/home/tuan/Documents/CTF -t:/home/tuan/Templates -w:/home/tuan/workspace_l/home_lab/wiki -k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor -q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps -':/home/tuan/workspace_l/rust/LibAFL/fuzzers -e:/home/tuan/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/ethfuzz -s:/home/tuan/Pictures/Screenshots -v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible -f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen -g:/home/tuan/workspace_l/home_lab -r:/home/tuan/Documents/roam -b:/home/tuan/.syncthing/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/ethfuzz +':/home/tudattr/.genesis/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/03-demonstration_23-10-31/final/5g-iana-notes/5g-uulm-network-monitoring +a:/home/tudattr/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte +s:/home/tudattr/Pictures/Screenshots +u:/home/tudattr/.genesis/Documents/Uni/Studium +e:/home/tudattr/.genesis/Documents/Fachschaft/Berufungskomission/Pohl/Sitzungen +r:/home/tudattr/.genesis/Documents/Uni/Studium/2023_Sommersemester/ethfuzz-evaluation/eval_ityfuzz/contracts/VeriSmart-benchmarks diff --git a/config/.ssh/config b/config/.ssh/config index a32bea2..aa9cb58 100644 --- a/config/.ssh/config +++ b/config/.ssh/config @@ -47,6 +47,34 @@ Host aya01 aya01.mii Host docker-02 docker-02.mii HostName 192.168.20.19 +Host k3s-loadbalancer.aya01 k3s-loadbalancer + HostName 192.168.20.22 + ProxyJump aya01 + +Host k3s-server01.aya01 k3s-server01 + HostName 192.168.20.24 + ProxyJump aya01 + +Host k3s-server00.aya01 k3s-server00 + HostName 192.168.20.21 + ProxyJump aya01 + +Host k3s-agent00.aya01 k3s-agent00 + HostName 192.168.20.25 + ProxyJump aya01 + +Host k3s-agent01.aya01 k3s-agent01 + HostName 192.168.20.26 + ProxyJump aya01 + +Host k4s-agent02.aya01 k3s-agent02 + HostName 192.168.20.27 + ProxyJump aya01 + +Host k3s-postgres.aya01 k3s-postgres + HostName 192.168.20.23 + ProxyJump aya01 + Host behemoth behemoth.pi User tuan HostName 192.168.30.174 @@ -61,7 +89,7 @@ Host mii Host inko.mii pi.mii aya01.mii naruto.mii docker-02.mii ProxyJump mii -Host mii pi inko naruto inko.mii pi.mii naruto.mii aya01 aya01.mii docker-02 docker-02.mii +Host mii pi inko naruto inko.mii pi.mii naruto.mii aya01 aya01.mii docker-02 docker-02.mii k3s-server00.aya01 k3s-server00 k3s-loadbalancer.aya01 k3s-loadbalancer k3s-postgres.aya01 k3s-postgres k3s-server01.aya01 k3s-server01 k3s-agent00.aya01 k3s-agent00 k3s-agent01.aya01 k3s-agent01 k3s-agent02.aya01 k3s-agent02 Port 22 User tudattr IdentityFile /mnt/veracrypt1/genesis diff --git a/vim/.config/nvim/lazy-lock.json b/vim/.config/nvim/lazy-lock.json index 416eacf..d319bd2 100644 --- a/vim/.config/nvim/lazy-lock.json +++ b/vim/.config/nvim/lazy-lock.json @@ -1,30 +1,30 @@ { "LazyVim": { "branch": "main", "commit": "12818a6cb499456f4903c5d8e68af43753ebc869" }, - "SchemaStore.nvim": { "branch": "main", "commit": "0d18cb5f8faf160335b4ed4699b6b35c616de5b9" }, + "SchemaStore.nvim": { "branch": "main", "commit": "c97985bbe5a0988767216f9b54a8e05d70ce8505" }, "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, - "catppuccin": { "branch": "main", "commit": "18bab5ec4c782cdf7d7525dbe89c60bfa02fc195" }, + "catppuccin": { "branch": "main", "commit": "4fd72a9ab64b393c2c22b168508fd244877fec96" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, - "conform.nvim": { "branch": "master", "commit": "d31323db3fa4a33d203dcb05150d98bd0153c42c" }, - "crates.nvim": { "branch": "main", "commit": "891063a2dc8471501b9742406a514be62a20c138" }, + "conform.nvim": { "branch": "master", "commit": "0ebe875d9c306f5fc829db38492ffff2a70d8e9d" }, + "crates.nvim": { "branch": "main", "commit": "b3b9ac6ed9618955b24bf9adede7530ef608495b" }, "dashboard-nvim": { "branch": "master", "commit": "fabf5feec96185817c732d47d363f34034212685" }, "dressing.nvim": { "branch": "master", "commit": "c5775a888adbc50652cb370073fcfec963eca93e" }, "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, - "gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" }, - "grug-far.nvim": { "branch": "main", "commit": "536b23dcf3165a622654544e5f9f395584e73b57" }, - "indent-blankline.nvim": { "branch": "master", "commit": "dddb5d21811c319eb6e51a993d8fb44b193aae3f" }, + "gitsigns.nvim": { "branch": "main", "commit": "899e993850084ea33d001ec229d237bc020c19ae" }, + "grug-far.nvim": { "branch": "main", "commit": "8058c2366f21af6f446d8e0f9333ae7c22f7679a" }, + "indent-blankline.nvim": { "branch": "master", "commit": "18603eb949eba08300799f64027af11ef922283f" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, - "markdown.nvim": { "branch": "main", "commit": "4c823b1df151dbf1ed3ddaacac517be606b1e145" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "1c55991321d1a861537e32446affc5de5d9a6eaf" }, + "markdown.nvim": { "branch": "main", "commit": "2f9d4f0be8784ed4fef5960eb7b80bf60c5fdf56" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "482350b050bd413931c2cdd4857443c3da7d57cb" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mini.ai": { "branch": "main", "commit": "a9b992b13d22a8db8df6beac25afa59a10b5584d" }, - "mini.icons": { "branch": "main", "commit": "fe63fe080e76d80713557e5f0c65bc15b14b152d" }, + "mini.icons": { "branch": "main", "commit": "12e7b5d47bfc1b4c5ba4278fb49ec9100138df14" }, "mini.pairs": { "branch": "main", "commit": "927d19cbdd0e752ab1c7eed87072e71d2cd6ff51" }, "mini.surround": { "branch": "main", "commit": "d8913ed23be0a1a4585ae34414821cc343a46174" }, "neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" }, @@ -32,25 +32,25 @@ "nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-lint": { "branch": "master", "commit": "debabca63c0905b59ce596a55a8e33eafdf66342" }, - "nvim-lspconfig": { "branch": "master", "commit": "a89de2e049b5f89a0ee55029d5a31213bd4de6f8" }, + "nvim-lspconfig": { "branch": "master", "commit": "0ef64599b8aa0187ee5f6d92cb39c951f348f041" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" }, - "nvim-treesitter": { "branch": "master", "commit": "ec8776ed9ef56ffe7a61e67b64d5d6b6aba2c631" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "ced6375723b20616282f9f6a1018a63ae19b106a" }, - "nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" }, + "nvim-treesitter": { "branch": "master", "commit": "a1573a9135c608e68cb383f752623527be84bdce" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "3a3c6244553f13fdd92d312c82722b57ce6c4bec" }, + "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "onedark.vim": { "branch": "main", "commit": "390b893d361c356ac1b00778d849815f2aa44ae4" }, - "outline.nvim": { "branch": "main", "commit": "b47514b8f4ae3207c499a69eec05c29cf2182af8" }, + "outline.nvim": { "branch": "main", "commit": "e2fc8d8e10205a65f13581504674f4d305c1abe8" }, "persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" }, - "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, + "plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" }, "rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, "telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, - "todo-comments.nvim": { "branch": "main", "commit": "8f45f353dc3649cb9b44cecda96827ea88128584" }, - "tokyonight.nvim": { "branch": "main", "commit": "b0e7c7382a7e8f6456f2a95655983993ffda745e" }, + "todo-comments.nvim": { "branch": "main", "commit": "319c01b99b7a8c9ac2066bf0efd4d6ec68fef444" }, + "tokyonight.nvim": { "branch": "main", "commit": "4b386e66a9599057587c30538d5e6192e3d1c181" }, "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, "ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" }, "vim-ledger": { "branch": "master", "commit": "dbc683e24bd5338b8c12540227a58b2d247e097a" }, - "vimtex": { "branch": "master", "commit": "00c23ab836dceeffadc05d0c4f2ceca1e02810a4" }, - "which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }, + "vimtex": { "branch": "master", "commit": "ec3b648af5092372ddd72404fb5db46b2f78beb5" }, + "which-key.nvim": { "branch": "main", "commit": "bfec3d6bc0a9b0b2cb11644642f78c2c3915eef0" }, "yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" } } diff --git a/vim/.config/nvim/spell/en.utf-8.add b/vim/.config/nvim/spell/en.utf-8.add index b2ea7b2..4ef8d3c 100644 --- a/vim/.config/nvim/spell/en.utf-8.add +++ b/vim/.config/nvim/spell/en.utf-8.add @@ -97,3 +97,73 @@ Rizk Bachelorsproject Giesen bachelorproject +Zitationsmetriken +Lehreerfahrung +Hasselbring +paluno +Vogalsang +UC6 +EOW +UULM +Nehal +Giorgos +Thanos +uulm +obu0 +obu1 +orin +dml +dmlo +uc6dmlarm0 +obu +uc6dmlarm02041 +uc6dmlarm1 +uc6dmlarm12051 +uc6dmlarm2 +uc6dmlarm22061 +uc6dml +mec +uc6aggnode +NmCli +NmSender +TODO +uc6dmltrain0 +uc6dmltrain02031 +uc6dml90 +uc6nmcli0 +uc6nmcli2 +uc6nmcli1 +uc6pqos1841 +uc6pqos +uc6pqos0 +uc6nmsen21831 +uc6nmsen2 +uc6nmsender +eMBB +uc6aggnode1781 +iana +uc6aggnode6 +uc6dmltrain1 +uc6dmltrain1541 +us6nmclient1771 +uc6nmclient +Monteiro +Dextra +DextraData +CTO +CompSci +CTF +Pentesting +Privatly +Monotonität +Gehaltsrange +inbetween +Homelab +Skillset +DevOps +ausverfrachtet +Ansible +IaC +Proxmox +Sina +Arbeitszeitsregelung diff --git a/vim/.config/nvim/spell/en.utf-8.add.spl b/vim/.config/nvim/spell/en.utf-8.add.spl index a71c07c523382c5a3c0a353916d019a8773259f8..b633e60bee8c785230ee9acf60ad3707fff83ce8 100644 GIT binary patch literal 2240 zcmY*a%WfQ15bdg-fh8=EnB_>YvPQyo94E+%TE+n6Ou1rfmmhZFJKcsAVPcuLU2y?#0HI~``)^BPgR{$_xAJ0C-p4J^WA?uulwDH zVH6LOQ98~h)4V9FnX8-mV!7^)($dW(7wt$YrBpJML_95Pyr!5`(qL4Is$>$uQ9Lh5 zG%8@tuvW|ZX5=tR@y}(B9dt}(U-m>VwQgjA6(=M7Ly2WjTn#XUQB}G&W($p$h~q7!uO9bS@9xBS_eVw5EVvZxA$o=g zE#o0Xg4Nlxzm%~iq&$HnbT06=@Xnt7!Vl}YaYq`+;0V!chz0WTCYKc0zz>X)egex{ zlZ@34O4sqw8-Olr<){QzoYtKrD`);_Txd3z6)@;NY@=VT5h=GwB-hZ7QyWo3`7_nT z86j5o8DMbb<7{7$(c>gd`FlNd1OQ?4N7ppDc#t37Ft%T*K1U!LO3ea{x zj30#>jQ~A@hv(RqaSQ!zjIOC*{HgXsv;>zh3nrVBxCC(C_UIL}v(*QzTMuI?wQ69j z;6&A~x%JgcII*ck9I(@(ZMXi+q$W1;jQ+t&V}{IpPcJuuD*?XF`4R4ld6xu& z(``O>xIkg_EW>Whf;l3cJ4`mWz_4)~i4;N+T;E?VFLCG`eH z+m*qTb^KMp1J?dnenAAD2A+(fP3(2j9cR;`^_Xe_YF8y{Xm#;_CHcH-tXE$psKEgu zf(Ib~NHyd%f%YsHreKMsDQt5%^2}vc6LTc#`lEX%9A}kV!4TPoOhZzn@0X}>ikhs| z-4I!d=NDthRjDZy@LDaA3Q1*xXhA!)4FXT*xNJxu#_rsY(bW50y$pxt3zN9V&8x_x1fY>w%MVP*(eP8*JO!i~IQElt?k&6wJ=sLGn!O z9&ErnEI@)h$}3dKTgarEgp3^A!L_Yp3OF;3GSi+PFKWX+t4&JZQE2WMYUI!!6@H{= z3Q2fjBEsKuycb6M=JIYonQt!@D#MG0SB_yFOg+#0`MtxVho3)w^5xUhZ=O9*vRuBF z6Z?#M2*Cq#W=eZK=*dsWQ2l0!If z`x8AWr(CWlRn(KDn|cKd%a0Slh@FR#v*vj6}9 literal 1445 zcmZux&2H2%5cW7*P8``2%DLJjP*I_r$_gZ;7Rv7tDakrncM~VrNw&M>KK^bEGxZbe9fDzk{WrKq-+@v5(SfLpd$sRl)9c z8^~jG21Cv+vyR%oEeQkUfafrQxo3qYhkd~@iHXw21F!;$5tJ~2eShKnKm}RhE)kUO z0vfn^oJy=UzJR|Tc{5l^8>GObYr3K@Acggt*Qt$As*0NdASt+d+6tHaURWtIW6OTE zcPnStq8kMA03a4oBSA__Z3^%kK)@}j|3J+JDz2k6^ipov6=z<#bt%dLNdU zp8$Rbi8+6nrH_8k*lv9lnK0mnRb%00{4XsqxK7q?7%j{Izsx8-ET%CIJ>ZhmaQ70GKb3z7(2lxLME+|jl)t2hh?EC8-Qo;_n;XPubc7q6rpNG}i?X|^ snRaxaUdmmdr(+h==X%Lfu|TJzK+^?1AM2fRy=s2^f4bryI^?U=ZwUJeF#rGn diff --git a/zsh/.zshrc b/zsh/.zshrc index e2f15d9..d56755b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -13,32 +13,14 @@ export HISTSIZE=50000 export SAVEHIST=50000 export HISTTIMEFORMAT="[%F %T] " -# Following commands from: https://registerspill.thorstenball.com/p/which-command-did-you-run-1731-days -# Immediately append to history file: setopt INC_APPEND_HISTORY - -# Record timestamp in history: setopt EXTENDED_HISTORY - -# Expire duplicate entries first when trimming history: setopt HIST_EXPIRE_DUPS_FIRST - -# Dont record an entry that was just recorded again: setopt HIST_IGNORE_DUPS - -# Delete old recorded entry if new entry is a duplicate: setopt HIST_IGNORE_ALL_DUPS - -# Do not display a line previously found: setopt HIST_FIND_NO_DUPS - -# Dont record an entry starting with a space: setopt HIST_IGNORE_SPACE - -# Dont write duplicate entries in the history file: setopt HIST_SAVE_NO_DUPS - -# Share history between all sessions: setopt SHARE_HISTORY # Alias @@ -54,6 +36,7 @@ alias notify="dunstify \"ping~\"" alias latexmk="latexmk -f -pdf -interaction=nonstopmode" alias picotik="picocom --b 115200 /dev/ttyUSB0" alias kc="kubectl" +alias nspeedl="curl -s -o /dev/null -w \"DNS Lookup: %{time_namelookup}\nTCP Connect: %{time_connect}\nTotal: %{time_total}\n\" http://www.tudattr.dev" # Theme