Compare commits

..

No commits in common. "2e3fd03b0a07f25d43b57541eef3ec2a5d02d14d" and "c1438b1baa07dde00a48943cadaa7ca86291cba9" have entirely different histories.

4 changed files with 9 additions and 39 deletions

View file

@ -1,10 +0,0 @@
sourcefiles() {
if [ -d "$1" ]; then
for i in "${1}/"*; do
. "$i"
done
fi
}
sourcefiles /usr/local/etc/sh/shrc.d

View file

@ -1,24 +0,0 @@
# Lines added by ahurac
# Prepenth the local bin directory to the path array
typeset -U path PATH
addpath() {
if [ -d "$1" ]; then
path=("$1" $path)
fi
}
addpath ~/.local/bin
addpath ~/.local/share/minecraft/servers/bin
# Fastfetch
fastfetch
# Start Hyprland if the tty is 1
if [ "$(tty)" = /dev/tty1 ]; then
exec Hyprland
else
true
fi

View file

@ -1,2 +0,0 @@
export EDITOR=nvim

View file

@ -12,6 +12,15 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
# Source the system wid bash configuration
shrc_d=/usr/local/etc/sh/shrc.d
if [ -d "$shrc_d" ]; then
for i in "${shrc_d}/"*; do
. "$i"
done
fi
unset shrc_d
# Bindings
# create a zkbd compatible hash;
# to add other keys to this hash, see: man 5 terminfo
@ -88,6 +97,3 @@ unsetopt autopushd
# Case sensitive
CASE_SENSITIVE="true"
# zsh-vi-mode
source /usr/share/zsh/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh