aboutsummaryrefslogtreecommitdiff
path: root/runcoms
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-08-30 22:40:03 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-08-30 22:40:03 +0200
commita94ac638f8bb946e98ca04503e7907f9f1d63c3e (patch)
treed671c70f32b183e96776abed844a945839438f51 /runcoms
parent6f7715ef506f39a0b0d9a5cd2afc7ed7a7202064 (diff)
Reduce further
Diffstat (limited to 'runcoms')
-rw-r--r--runcoms/zlogin7
-rw-r--r--runcoms/zprofile11
-rw-r--r--runcoms/zshenv7
-rw-r--r--runcoms/zshrc4
4 files changed, 2 insertions, 27 deletions
diff --git a/runcoms/zlogin b/runcoms/zlogin
index 8af0975..60876ac 100644
--- a/runcoms/zlogin
+++ b/runcoms/zlogin
@@ -1,10 +1,3 @@
-#
-# Executes commands at login post-zshrc.
-#
-# Authors:
-# Sorin Ionescu <sorin.ionescu@gmail.com>
-#
-
# Execute code that does not affect the current session in the background.
{
# Compile the completion dump to increase startup speed.
diff --git a/runcoms/zprofile b/runcoms/zprofile
index d0cb3b8..a079fab 100644
--- a/runcoms/zprofile
+++ b/runcoms/zprofile
@@ -1,11 +1,4 @@
#
-# Executes commands at login pre-zshrc.
-#
-# Authors:
-# Sorin Ionescu <sorin.ionescu@gmail.com>
-#
-
-#
# Browser
#
@@ -17,8 +10,8 @@ fi
# Editors
#
-export EDITOR='vi'
-export VISUAL='vi'
+export EDITOR='nvim'
+export VISUAL='nvim'
export PAGER='less'
#
diff --git a/runcoms/zshenv b/runcoms/zshenv
index 2d97203..c23f284 100644
--- a/runcoms/zshenv
+++ b/runcoms/zshenv
@@ -1,10 +1,3 @@
-#
-# Defines environment variables.
-#
-# Authors:
-# Sorin Ionescu <sorin.ionescu@gmail.com>
-#
-
# Ensure that a non-login, non-interactive shell has a defined environment.
if [[ "$SHLVL" -eq 1 && ! -o LOGIN && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
source "${ZDOTDIR:-$HOME}/.zprofile"
diff --git a/runcoms/zshrc b/runcoms/zshrc
index f1d97f6..faf73a8 100644
--- a/runcoms/zshrc
+++ b/runcoms/zshrc
@@ -34,10 +34,6 @@ export NVM_DIR=$HOME/.nvm
export PATH=$PATH:$HOME:${GOPATH//://bin:}/bin
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_NDK_HOME:/Applications/calibre.app/Contents/MacOS
-# Editor.
-export EDITOR="nvim"
-export VISUAL="nvim"
-
# Python related variables
export VIRTUAL_ENV_DISABLE_PROMPT=1
export WORKON_HOME=$HOME/.virtualenvs