Skip to content
Snippets Groups Projects
Commit 084f0b56 authored by Alfred Burgess's avatar Alfred Burgess
Browse files

Fixed ZSH bug creating a history hile everywhere

parent 11d32b51
Branches
No related merge requests found
......@@ -3,3 +3,5 @@ alias grep='grep --color -n'
alias ll='ls -l'
alias la='ls -lA'
alias cls='clear && ls && echo'
alias sqlite-docs="w3m /docs/sqlite/index.html"
......@@ -7,9 +7,21 @@ alias cls="clear"
# History Management
HISTCONTROL=ignoreboth
HISTFILE=.zsh_history
HISTFILE=~/.zsh_history
HISTSIZE=1000
HISTFILESIZE=1000
SAVEHIST=1000
# Command Completion
autoload -Uz compinit
compinit
zstyle ':completion:*' menu select
# Prompt
autoload -Uz promptinit
promptinit
prompt adam1
# Alias File
if [ -f ~/.zsh_alias ]; then
......@@ -32,7 +44,12 @@ todo() {
}
todo_list() {
TODO_PATH=$(xdg-user-dir)/.todo
echo $(cat $TODO_PATH | xargs -n1 echo | grep '[ ]')
# echo $(cat $TODO_PATH | xargs -n1 echo | grep '[ ]')
cat $TODO_PATH
}
resource() { source $(xdg-user-dir)/.zshrc }
# Created by `pipx` on 2024-06-03 12:10:22
export PATH="$PATH:/home/aburgess/.local/bin"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment