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
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f "$HOME/.zsh_history "] ; then
|
if [ -f "$HOME/.zsh_history " ] ; then
|
||||||
rm "$HOME/.zsh_history"
|
rm "$HOME/.zsh_history"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f "$HOME/.zsh_history "] ; then
|
if [ -f "$HOME/.zsh_history " ] ; then
|
||||||
rm "$HOME/.zsh_history"
|
rm "$HOME/.zsh_history"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
# ~/.zshrc
|
# ~/.zshrc
|
||||||
#
|
#
|
||||||
# to change default shell, use chsh -s $(which zsh)
|
# to change default shell, use chsh -s $(which zsh)
|
||||||
|
|
||||||
|
# creates a zsh_history file on startup
|
||||||
|
touch $HOME/.zsh_history
|
||||||
#
|
#
|
||||||
# create custom env variables:
|
# create custom env variables:
|
||||||
#
|
|
||||||
export cproj="/home/brian/Documents/Code/source_code_to_study/sandbox/msh"
|
export cproj="/home/brian/Documents/Code/source_code_to_study/sandbox/msh"
|
||||||
# custom BROWSER env for ddgr:
|
# custom BROWSER env for ddgr:
|
||||||
export BROWSER=links
|
export BROWSER=links
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue