minor changes

Signed-off-by: Tiago Garcia <tiago.rgarcia@ua.pt>
This commit is contained in:
Tiago Garcia 2024-07-18 02:36:39 +01:00
parent 421277215f
commit bb5e493024
Signed by: TiagoRG
GPG Key ID: DFCD48E3F420DB42
2 changed files with 10 additions and 2 deletions

View File

@ -7,7 +7,7 @@
[user] [user]
email = tiago.rgarcia@ua.pt email = tiago.rgarcia@ua.pt
name = Tiago Garcia name = Tiago Garcia
signingkey = 545513959AF6B11BBAD0EF3FFF0A53A30B1ADF82 signingkey = 163D23CB1BD2F4FECA6D3695DFCD48E3F420DB42
[core] [core]
editor = nvim editor = nvim
excludesfile = /home/tiagorg/.gitignore excludesfile = /home/tiagorg/.gitignore

View File

@ -7,6 +7,7 @@ export EDITOR=nvim
alias vim='nvim' alias vim='nvim'
alias v='vim . && ref' alias v='vim . && ref'
alias vi='/usr/bin/vim' alias vi='/usr/bin/vim'
alias iv='export CPATH=$(pwd)/include:$CPATH && nvim . && ref'
export PF_INFO="ascii title os shell editor pkgs uptime memory" export PF_INFO="ascii title os shell editor pkgs uptime memory"
@ -297,9 +298,16 @@ ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999999'
eval "$(zoxide init --cmd cd zsh)" eval "$(zoxide init --cmd cd zsh)"
if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# Set up path to check personal bin, include and lib directory # Set up path to check personal bin, include and lib directory
export PATH=/home/tiagorg/.dotfiles/.local/bin:$PATH export PATH=/home/tiagorg/.dotfiles/.local/bin:$PATH
export CPATH=/home/tiagorg/.dotfiles/.local/include:$CPATH export CPATH=/home/tiagorg/.dotfiles/.local/include:/home/tiagorg/repos/gh-wh-handler/include:$CPATH
# For C only: C_INCLUDE_PATH # For C only: C_INCLUDE_PATH
# For C++ only: CPLUS_INCLUDE_PATH # For C++ only: CPLUS_INCLUDE_PATH
# For Obj-C: OBJC_INCLUDE_PATH # For Obj-C: OBJC_INCLUDE_PATH