mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 15:04:24 -05:00
Modular stow folders. Replaced kitty with alacritty
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
#############################
|
||||
# common conf across shells #
|
||||
#############################
|
||||
#########################################
|
||||
# Common config across different shells #
|
||||
#########################################
|
||||
|
||||
export EDITOR='nvim'
|
||||
export HTTP_HOME="duckduckgo.com"
|
||||
export RANGER_LOAD_DEFAULT_RC=false
|
||||
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
export MANPAGER="nvim +Man!"
|
||||
export GOPATH=$HOME/.go
|
||||
export PATH=$HOME/.go/bin:$PATH
|
||||
|
||||
# Setting some aliases
|
||||
alias on="nvim ~/projects/planner/quick.md"
|
||||
alias ns="nix-shell -p "
|
||||
alias um="umount /mnt/webdav"
|
||||
@@ -27,7 +34,6 @@ alias m="make"
|
||||
alias mn="make nix"
|
||||
alias syn="~/projects/scripts/run_unison.sh"
|
||||
alias s="~/projects/scripts/run_unison.sh"
|
||||
#alias synu="unison MainAll_CIP"
|
||||
alias rmt="rm /tmp/all_git_projects"
|
||||
alias fu="chch && fla && shd"
|
||||
alias fla="sudo nixos-rebuild switch --flake ~/nixos#"
|
||||
@@ -38,19 +44,8 @@ alias tkkk="tmux kill-server"
|
||||
|
||||
alias feh="feh -d"
|
||||
alias os="cd /nix/store && yazi"
|
||||
|
||||
# command to rest to the current dir of the tmux session (as in the session name)
|
||||
# replace a leading _ in the session name with a .
|
||||
# This breaks the shell if no tmux session is there
|
||||
# alias rr="\cd ~$(tmux display-message -p '#S' | sed 's/^_/\./')"
|
||||
|
||||
# ripgrep all
|
||||
export loc="$HOME/files_local/"
|
||||
alias rga="rg --hidden --no-ignore"
|
||||
# light ripgrep
|
||||
# Does not work as excpected
|
||||
#alias rgl='rg --files --hidden --glob "!**/.git/*" --glob "!**/.cache/*" --glob "!**/.local/*" --glob "!**/bigfiles/*" --glob "!**/*.{jpg,png,gif,mp4,mkv,tar,zip,iso}"'
|
||||
# ripgrep preview
|
||||
# TODO: make find dotfiles
|
||||
alias g='nvim -c "lua require(\"telescope.builtin\").live_grep()"'
|
||||
alias n="nvim"
|
||||
alias nr='nvim -c "lua require(\"telescope.builtin\").oldfiles()"'
|
||||
@@ -72,36 +67,18 @@ alias chch="~/projects/scripts/check_git.sh"
|
||||
alias fa="fastfetch"
|
||||
alias gui="Hyprland && clear"
|
||||
alias ls='ls --color=auto'
|
||||
# This updates the tofi database
|
||||
alias tofiu='rm ~/.cache/tofi-drun'
|
||||
|
||||
alias ll='exa -la '
|
||||
#alias shd="~/projects/scripts/run_unison.sh && pkill -u $(whoami)"
|
||||
# TODO: implement a way to always sync on startup and shutdown
|
||||
alias shd="shutdown now"
|
||||
alias ttt='timer -f 10m'
|
||||
alias zshconfig="mate ~/.zshrc"
|
||||
alias giter="git add . && git commit -a -m 'auto commit' && git push"
|
||||
alias grep='grep --color=always'
|
||||
|
||||
# Office stuff
|
||||
alias oiiiii="bash ~/management/office/sync.sh in"
|
||||
alias ou="bash ~/management/office/sync.sh out"
|
||||
|
||||
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
|
||||
alias au="bash ~/projects/scripts/sync_all.sh out"
|
||||
|
||||
###########################################################################
|
||||
|
||||
# Exports #
|
||||
export EDITOR='nvim'
|
||||
export HTTP_HOME="duckduckgo.com"
|
||||
export RANGER_LOAD_DEFAULT_RC=false
|
||||
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
export MANPAGER="nvim +Man!"
|
||||
|
||||
export PATH=$HOME/go/bin:$PATH
|
||||
|
||||
# Used by some scripts as shortcuts
|
||||
export loc="$HOME/files_local/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user