aboutsummaryrefslogtreecommitdiff
path: root/runcoms/zprofile
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-03-15 21:41:58 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-03-15 22:20:01 +0100
commite2582f8649e9e67f02210f659b69523c46003087 (patch)
treed7e87b1993e543bcf83345bf584ce3706b3fd1f8 /runcoms/zprofile
parent68fc4436c2565ff31f1499d868ac71bc560121ee (diff)
Simplify installation
Diffstat (limited to 'runcoms/zprofile')
-rw-r--r--runcoms/zprofile67
1 files changed, 0 insertions, 67 deletions
diff --git a/runcoms/zprofile b/runcoms/zprofile
deleted file mode 100644
index a079fab..0000000
--- a/runcoms/zprofile
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Browser
-#
-
-if [[ "$OSTYPE" == darwin* ]]; then
- export BROWSER='open'
-fi
-
-#
-# Editors
-#
-
-export EDITOR='nvim'
-export VISUAL='nvim'
-export PAGER='less'
-
-#
-# Language
-#
-
-if [[ -z "$LANG" ]]; then
- export LANG='en_US.UTF-8'
-fi
-
-#
-# Paths
-#
-
-# Ensure path arrays do not contain duplicates.
-typeset -gU cdpath fpath mailpath path
-
-# Set the the list of directories that cd searches.
-# cdpath=(
-# $cdpath
-# )
-
-# Set the list of directories that Zsh searches for programs.
-path=(
- /opt/homebrew/{bin,sbin}
- $path
-)
-
-#
-# Less
-#
-
-# Set the default Less options.
-# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
-# Remove -X and -F (exit if the content fits on one screen) to enable it.
-export LESS='-F -g -i -M -R -S -w -X -z-4'
-
-# Set the Less input preprocessor.
-# Try both `lesspipe` and `lesspipe.sh` as either might exist on a system.
-if (( $#commands[(i)lesspipe(|.sh)] )); then
- export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-"
-fi
-
-#
-# Temporary Files
-#
-
-if [[ ! -d "$TMPDIR" ]]; then
- export TMPDIR="/tmp/$LOGNAME"
- mkdir -p -m 700 "$TMPDIR"
-fi
-
-TMPPREFIX="${TMPDIR%/}/zsh"