mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
chore: Remove rust env from .bashrc, move tmux aliases here, redundant
path setting removed from .profile
This commit is contained in:
@@ -189,4 +189,3 @@ for alias_file in "$XDG_CONFIG_HOME"/shell/*.sh; do source "$alias_file"; done
|
||||
# TIP: Following should be executed AFTER the aliases are sourced
|
||||
command -v op >/dev/null && bind '"^O":"op\n"' # Fuzzyfind projects and open in nvim
|
||||
command -v pnew >/dev/null && bind '"^[o":"pnew\n"' # Create a new project quickly
|
||||
. "/home/pratik/.local/share/rust/cargo/env"
|
||||
|
||||
@@ -33,6 +33,13 @@ mkcd() {
|
||||
cd "$1" || exit
|
||||
}
|
||||
|
||||
# Tmux
|
||||
command -v tmux >/dev/null && alias ta="tmux a"
|
||||
command -v tmux >/dev/null && alias tat="tmux a -t"
|
||||
command -v tmux >/dev/null && alias tls="tmux ls"
|
||||
command -v tmux >/dev/null && alias tnew="tmux new"
|
||||
command -v tmux >/dev/null && alias tnewt="tmux new -t"
|
||||
|
||||
# Network
|
||||
alias ping="ping -c 10"
|
||||
alias ping8="ping 8.8.8.8"
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
[ ! -f "/home/linuxbrew/.linuxbrew/bin/brew" ] || eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
[ ! -f "/opt/homebrew/bin/brew" ] || eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
[ ! -d "$HOME/bin" ] || PATH="$HOME/bin:$PATH"
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
# HACK: Appended to end of $PATH instead of beginning
|
||||
# Kitty can't seem to locate nvim when .local/bin is path-ed earlier
|
||||
|
||||
Reference in New Issue
Block a user