-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
555e1e1
commit 7a8a105
Showing
6 changed files
with
1,768 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
echo "Sweet Home: " $HOME | ||
# History | ||
export HISTFILE=${HOME}/.local/state/zsh/.zsh_history | ||
setopt share_history | ||
|
||
# adding user bin folder to the path | ||
path+=(${HOME}/.local/bin) | ||
export PATH | ||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | ||
# Initialization code that may require console input (password prompts, [y/n] | ||
# confirmations, etc.) must go above this block; everything else may go below. | ||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | ||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | ||
fi | ||
|
||
# Aliases | ||
alias jump="ssh jump" | ||
#alias vi="nvim" | ||
#alias vim="nvim" | ||
alias nvim="ide nvim" | ||
source ${HOME}/.local/share/zsh/powerlevel10k/powerlevel10k.zsh-theme | ||
|
||
# History | ||
setopt share_history | ||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | ||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
echo "Sweet Home: " $HOME | ||
|
||
# adding user bin folder to the path | ||
path+=(${HOME}/.local/bin) | ||
export PATH | ||
|
||
# Aliases | ||
alias jump="ssh jump" | ||
#alias vi="nvim" | ||
#alias vim="nvim" | ||
alias nvim="ide nvim" | ||
|
||
# History | ||
export HISTFILE=${HOME}/.local/state/zsh/.zsh_history | ||
setopt share_history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# exit the script when an error occurs | ||
set -e | ||
|
||
# create the folder used to store the history file | ||
mkdir -p ${HOME}/.local/state/zsh | ||
|
||
# extract the path of the current script | ||
SCRIPTS_PATH=$(dirname "$0") | ||
|
||
# copy files with confirmation to override | ||
cp -i ${SCRIPTS_PATH}/../.zshrc.macos ${HOME}/.zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters