From 3023daddd0ca57c256438dbd5cbbb342f1cf78a7 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Sat, 15 Jun 2024 02:19:22 +0100 Subject: [PATCH 1/5] Switch from nvim to vscode for $EDITOR --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index bcec9dc..5c3556b 100644 --- a/.zshrc +++ b/.zshrc @@ -30,7 +30,7 @@ HIST_STAMPS="dd.mm.yyyy" source $ZSH/oh-my-zsh.sh export LANG=en_GB.UTF-8 -export EDITOR=nvim +export EDITOR=vim export ARCHFLAGS="-arch x86_64" export GPG_TTY=$(tty) From 5b28f031b5707dd6d3d584eed39e7520d1bd9e05 Mon Sep 17 00:00:00 2001 From: nex Date: Sun, 16 Jun 2024 13:23:28 +0100 Subject: [PATCH 2/5] Dynamically load cargo --- .bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index f015706..b1e6a14 100644 --- a/.bash_profile +++ b/.bash_profile @@ -6,4 +6,6 @@ if [ -f ~/.bashrc ]; then fi # User specific environment and startup programs -. "$HOME/.cargo/env" +if [ -f $HOME/.cargo/env ]; then + . "$HOME/.cargo/env" +fi From 1e7e4e09d32788a65987c62b7712a3e231ce69c2 Mon Sep 17 00:00:00 2001 From: nex Date: Sun, 16 Jun 2024 13:23:55 +0100 Subject: [PATCH 3/5] Update .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f3b6411..e2a2c23 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ **/.git +.ssh/id +.ssh/id* From f886f52e9658b867114be0abcddfd046a5ed1350 Mon Sep 17 00:00:00 2001 From: nex Date: Sun, 16 Jun 2024 13:24:24 +0100 Subject: [PATCH 4/5] Remove submodules --- .gitmodules | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 24459ff..0000000 --- a/.gitmodules +++ /dev/null @@ -1,6 +0,0 @@ -[submodule ".oh-my-zsh/custom/plugins/zsh-autosuggestions"] - path = .oh-my-zsh/custom/plugins/zsh-autosuggestions - url = https://github.com/zsh-users/zsh-autosuggestions -[submodule ".oh-my-zsh/custom/plugins/zsh-syntax-highlighting"] - path = .oh-my-zsh/custom/plugins/zsh-syntax-highlighting - url = https://github.com/zsh-users/zsh-syntax-highlighting From be3620709888ac246dacb6665cc9f8e36a064fa5 Mon Sep 17 00:00:00 2001 From: nex Date: Sun, 16 Jun 2024 13:25:17 +0100 Subject: [PATCH 5/5] Fix path in zprofile --- .zprofile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.zprofile b/.zprofile index 24d160b..c0a1795 100644 --- a/.zprofile +++ b/.zprofile @@ -1,3 +1,2 @@ - # Created by `pipx` on 2024-03-20 01:03:28 -export PATH="$PATH:/home/nexus/.local/bin" +export PATH="$PATH:$HOME/.local/bin"