From 6861b1560127e68b8da2eb1fb657b47acfc84cad Mon Sep 17 00:00:00 2001 From: otg Date: Thu, 28 Apr 2022 17:12:57 +0100 Subject: Moved LESSHISTFILE export to zshenv --- zsh/.zshenv | 1 + zsh/.zshrc | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.zshenv b/zsh/.zshenv index d9b25b9..2aefcc2 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -15,6 +15,7 @@ export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv export GOPATH="$XDG_DATA_HOME"/go +export LESSHISTFILE=/dev/null # ZSH Directories export ZDOTDIR=$XDG_CONFIG_HOME/zsh diff --git a/zsh/.zshrc b/zsh/.zshrc index 605ec11..7cd674d 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -25,7 +25,6 @@ autoload -U colors && colors autoload -U promptinit && promptinit ########## Reducing clutter in home directory ########## -export LESSHISTFILE=/dev/null # Remove ~/.lesshst generation alias feh="feh --no-fehbg" alias newsboat="newsboat -u ~/.config/newsboat/urls" # TODO: add all XDG directories in the right places, and then run the commands @@ -135,6 +134,11 @@ gar() { # Add remotes git remote add github git@github.com:GeorgeAbbott/$1.git git remote add gitlab git@gitlab.com:GeorgeAbbott/$1.git } +gro() { # Rename all origins + git remote set-url origin gitea@git.gabbott.xyz:self/$1.git + git remote set-url github git@github.com:GeorgeAbbott/$1.git + git remote set-url gitlab git@gitlab.com:GeorgeAbbott/$1.git +} # misc alias pkg-query="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'" -- cgit v1.2.1