From a2ce697b175d8078af324cf69b5ad22000c2abb2 Mon Sep 17 00:00:00 2001 From: Raine Date: Sun, 19 Nov 2023 01:03:45 +0100 Subject: [PATCH] feat: update files --- crates/10-zsh/files/.zshrc | 21 +++++---------------- crates/20-vim/files/.vimrc | 1 + 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/crates/10-zsh/files/.zshrc b/crates/10-zsh/files/.zshrc index 6ae0dcd..8ba260d 100644 --- a/crates/10-zsh/files/.zshrc +++ b/crates/10-zsh/files/.zshrc @@ -1,9 +1,9 @@ +#!/bin/zsh + +# Raine's .zshrc + export GPG_TTY=$(tty) - -# paths -export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" - -# ZSH +export PATH="$PATH:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$HOME/.local/bin" export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="afowler" @@ -12,7 +12,6 @@ source $ZSH/oh-my-zsh.sh # ALIASES alias open="xdg-open" -alias nobeep="sudo modprobe -r pcspkr" alias s="title $HOST && cmatrix -rs && clear" alias q="exit" @@ -31,13 +30,3 @@ function share_cdn() { scp $1 keymaker:/usr/share/cdn/random/$2 > /dev/null echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}" } - -export PATH="${PATH}:/home/${USER}/.local/bin" - -# pnpm -export PNPM_HOME="/home/raine/.local/share/pnpm" -case ":$PATH:" in - *":$PNPM_HOME:"*) ;; - *) export PATH="$PNPM_HOME:$PATH" ;; -esac -# pnpm end diff --git a/crates/20-vim/files/.vimrc b/crates/20-vim/files/.vimrc index abb89b3..8f61924 100644 --- a/crates/20-vim/files/.vimrc +++ b/crates/20-vim/files/.vimrc @@ -1,2 +1,3 @@ set number set relativenumber +syntax on