fixed typo in scripts and added creating .zsh_history file on startup of zsh
This commit is contained in:
parent
acbcf8a81f
commit
c618bdbbea
3 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f "$HOME/.zsh_history "] ; then
|
||||
if [ -f "$HOME/.zsh_history " ] ; then
|
||||
rm "$HOME/.zsh_history"
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f "$HOME/.zsh_history "] ; then
|
||||
if [ -f "$HOME/.zsh_history " ] ; then
|
||||
rm "$HOME/.zsh_history"
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue