mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
Config Updates:
- .gitconfig: Use local date for display - .profile: Configure golang - .profile: gtkrc, wget, ollama setting changed to adhere to XDG folder structure - .zshrc: Use docker-compose oh-my-zsh plugin
This commit is contained in:
@@ -10,7 +10,6 @@ alias egrep='egrep --color=auto'
|
|||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
alias usersearch="awk -F: '{print \"UserName: \" \$1 \", UserID: \" \$3 \", Home Dir: \" \$6 \", Shell Used: \" \$7}' /etc/passwd | grep"
|
alias usersearch="awk -F: '{print \"UserName: \" \$1 \", UserID: \" \$3 \", Home Dir: \" \$6 \", Shell Used: \" \$7}' /etc/passwd | grep"
|
||||||
alias untar='tar -zxvf '
|
alias untar='tar -zxvf '
|
||||||
alias wget='wget --hsts-file ${WGET_HSTS_FILE}'
|
|
||||||
|
|
||||||
alias v='$EDITOR'
|
alias v='$EDITOR'
|
||||||
alias snvim='${HOMEBREW_PREFIX}/bin/nvim' # Stable nvim
|
alias snvim='${HOMEBREW_PREFIX}/bin/nvim' # Stable nvim
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
cmd = code --wait $MERGED
|
cmd = code --wait $MERGED
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
date = relative
|
date = local
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
ll = log --pretty=format:'%Cblue%cn (%ce)%Creset committed %Cred%h%Creset %Cgreen%cr%Creset:%n%B'
|
ll = log --pretty=format:'%Cblue%cn (%ce)%Creset committed %Cred%h%Creset %Cgreen%cr%Creset:%n%B'
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ if [ "$(uname -s)" = "Linux" ]; then
|
|||||||
export __GL_SHADER_DISK_CACHE_PATH="$XDG_CACHE_HOME/nvidia"
|
export __GL_SHADER_DISK_CACHE_PATH="$XDG_CACHE_HOME/nvidia"
|
||||||
|
|
||||||
# Needs upstream fix to work: https://bugs.kde.org/show_bug.cgi?id=415770
|
# Needs upstream fix to work: https://bugs.kde.org/show_bug.cgi?id=415770
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc":"$XDG_CONFIG_HOME/gtk-2.0/gtkrc.mine"
|
||||||
export CUDA_CACHE_PATH="XDG_CACHE_HOME/nv"
|
export CUDA_CACHE_PATH="XDG_CACHE_HOME/nv"
|
||||||
|
|
||||||
# Map caps-lock to escape TIP: also added to /etc/profile
|
# Map caps-lock to escape TIP: also added to /etc/profile
|
||||||
@@ -59,7 +59,7 @@ fi
|
|||||||
|
|
||||||
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
||||||
export LESSHISTFILE="$XDG_STATE_HOME/shell/lesshst"
|
export LESSHISTFILE="$XDG_STATE_HOME/shell/lesshst"
|
||||||
export WGET_HSTS_FILE="$XDG_STATE_HOME/shell/wget-hsts-history" # wget aliased to use this path
|
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
|
||||||
|
|
||||||
# Move the Android device keys to .config (TODO: This needs to be tested)
|
# Move the Android device keys to .config (TODO: This needs to be tested)
|
||||||
export ADB_VENDOR_KEYS="$XDG_CONFIG_HOME/android"
|
export ADB_VENDOR_KEYS="$XDG_CONFIG_HOME/android"
|
||||||
@@ -82,7 +82,10 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|||||||
export DOTNET_CLI_HOME="$XDG_CONFIG_HOME/dotnet"
|
export DOTNET_CLI_HOME="$XDG_CONFIG_HOME/dotnet"
|
||||||
export DOTNET_TOOLS_PATH="$XDG_DATA_HOME/dotnet"
|
export DOTNET_TOOLS_PATH="$XDG_DATA_HOME/dotnet"
|
||||||
|
|
||||||
# FIX: BELOW DID NOT WORK
|
# Go
|
||||||
|
export GOPATH=/media/pratik/Projects/DevSetUps/gopath/
|
||||||
|
|
||||||
|
# FIX: BELOW DID NOT WORK: added to /etc/profile, need to recheck on reboot
|
||||||
# alias code="code --extensions-dir $XDG_DATA_HOME/vscode"
|
# alias code="code --extensions-dir $XDG_DATA_HOME/vscode"
|
||||||
|
|
||||||
# Java
|
# Java
|
||||||
@@ -103,3 +106,5 @@ export FZF_DEFAULT_COMMAND='rg --files --hidden'
|
|||||||
export FZF_DEFAULT_OPTS='--layout=reverse --cycle --inline-info --height=~50% --border'
|
export FZF_DEFAULT_OPTS='--layout=reverse --cycle --inline-info --height=~50% --border'
|
||||||
|
|
||||||
export TLDR_CACHE_DIR="$XDG_CACHE_HOME/tldr"
|
export TLDR_CACHE_DIR="$XDG_CACHE_HOME/tldr"
|
||||||
|
|
||||||
|
export OLLAMA_HOME="$XDG_CONFIG_HOME/ollama"
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ plugins=(
|
|||||||
git
|
git
|
||||||
gitignore
|
gitignore
|
||||||
docker
|
docker
|
||||||
|
docker-compose
|
||||||
per-directory-history
|
per-directory-history
|
||||||
sudo
|
sudo
|
||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
|
|||||||
Reference in New Issue
Block a user