fixed typo in scripts and added creating .zsh_history file on startup of zsh

This commit is contained in:
tomit4 2022-06-15 13:48:21 -07:00
parent acbcf8a81f
commit c618bdbbea
3 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
if [ -f "$HOME/.zsh_history "] ; then
if [ -f "$HOME/.zsh_history " ] ; then
rm "$HOME/.zsh_history"
fi

View file

@ -1,6 +1,6 @@
#!/bin/bash
if [ -f "$HOME/.zsh_history "] ; then
if [ -f "$HOME/.zsh_history " ] ; then
rm "$HOME/.zsh_history"
fi

View file

@ -1,9 +1,11 @@
# ~/.zshrc
#
# to change default shell, use chsh -s $(which zsh)
# creates a zsh_history file on startup
touch $HOME/.zsh_history
#
# create custom env variables:
#
export cproj="/home/brian/Documents/Code/source_code_to_study/sandbox/msh"
# custom BROWSER env for ddgr:
export BROWSER=links