Compare commits
6 Commits
cbeeacb379
...
f39c542346
Author | SHA1 | Date |
---|---|---|
Jyotirmoy Bandyopadhayaya | f39c542346 | |
Jyotirmoy Bandyopadhayaya | 3da16d7833 | |
Jyotirmoy Bandyopadhayaya | 636040c827 | |
Jyotirmoy Bandyopadhayaya | 10192384d9 | |
Jyotirmoy Bandyopadhayaya | 93c7bd0bc2 | |
Jyotirmoy Bandyopadhayaya | d80836576a |
9
.bashrc
9
.bashrc
|
@ -3,8 +3,13 @@
|
|||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
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" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
source /etc/nhi/nhi.bash
|
||||
|
|
|
@ -36,6 +36,8 @@ alias untar='tar -zxvf '
|
|||
alias upd='/usr/bin/update'
|
||||
alias vdir='vdir --color=auto'
|
||||
alias wget='wget -c '
|
||||
alias pftp="python3 -m http.server"
|
||||
alias pvenv="python -m venv venv && source venv/bin/activate.fish"
|
||||
|
||||
# Help people new to Arch
|
||||
alias apt-get='man pacman'
|
||||
|
@ -52,3 +54,8 @@ alias jctl="journalctl -p 3 -xb"
|
|||
|
||||
# Recent installed packages
|
||||
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
|
||||
|
||||
. "$HOME/.asdf/asdf.sh"
|
||||
. "$HOME/.asdf/completions/asdf.bash"
|
||||
|
||||
source "$HOME/.cargo/env"
|
||||
|
|
|
@ -108,6 +108,9 @@ alias ip="ip -color"
|
|||
alias cat='bat --style header --style snip --style changes --style header'
|
||||
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
|
||||
|
||||
alias pftp="python3 -m http.server"
|
||||
alias pvenv="python -m venv venv && source venv/bin/activate.fish"
|
||||
|
||||
# Common use
|
||||
alias grubup="sudo update-grub"
|
||||
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
|
||||
|
@ -155,6 +158,12 @@ alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
|
|||
|
||||
|
||||
## Run fastfetch if session is interactive
|
||||
if status --is-interactive && type -q fastfetch
|
||||
fastfetch --load-config neofetch
|
||||
if status --is-interactive && type -q neofetch
|
||||
neofetch
|
||||
end
|
||||
|
||||
source /opt/asdf-vm/asdf.fish
|
||||
set GITLAB_HOST "https://git.b68.dev"
|
||||
#source /home/bravo68web/.ghcup/env
|
||||
export PATH="/home/bravo68web/.ghcup/bin:$PATH"
|
||||
export PATH="$HOME/.cabal/bin:$PATH"
|
||||
|
|
25
.gitconfig
25
.gitconfig
|
@ -1,14 +1,15 @@
|
|||
[user]
|
||||
name = Jyotirmoy Bandyopadhyaya [Bravo68]
|
||||
email = jbandyopadhayaya@gmail.com
|
||||
signingkey = 1362E76AACB9E70C
|
||||
signingkey = D003E1D00F8A594589A7A674F5671FD7BCB9917A
|
||||
[gpg]
|
||||
program = /usr/bin/gpg
|
||||
program = gpg2
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[alias]
|
||||
s = status
|
||||
co = checkout
|
||||
c = commit -m
|
||||
ac = !git add -A && git commit -m
|
||||
ao = remote add origin
|
||||
undo = reset HEAD~1 --mixed
|
||||
|
@ -25,3 +26,23 @@
|
|||
required = true
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[safe]
|
||||
directory = /opt/flutter
|
||||
[http]
|
||||
cookiefile = /home/bravo68web/.gitcookies
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
[color "branch"]
|
||||
current = yellow reverse
|
||||
local = yellow
|
||||
remote = green
|
||||
[color "diff"]
|
||||
meta = yellow bold
|
||||
frag = magenta bold
|
||||
old = red bold
|
||||
new = green bold
|
||||
[color "status"]
|
||||
added = yellow
|
||||
changed = green
|
||||
untracked = cyan
|
||||
|
|
11
.profile
11
.profile
|
@ -26,3 +26,14 @@ if [ -d "$HOME/.local/bin" ] ; then
|
|||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
export EDITOR=/usr/bin/micro
|
||||
export BROWSER=firefox
|
||||
export TERM=gnome-terminal
|
||||
export MAIL=thunderbird
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${>
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_c>
|
||||
|
|
55
.zshrc
55
.zshrc
|
@ -1,14 +1,14 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
export GPG_TTY=$(tty)
|
||||
export EMSDK_QUIET=1
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="cloud"
|
||||
ZSH_THEME="robbyrussell"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
|
@ -23,9 +23,6 @@ ZSH_THEME="cloud"
|
|||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
|
||||
#ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff,bg=cyan,bold,underline"
|
||||
|
||||
# Uncomment one of the following lines to change the auto-update behavior
|
||||
# zstyle ':omz:update' mode disabled # disable automatic updates
|
||||
# zstyle ':omz:update' mode auto # update automatically without asking
|
||||
|
@ -44,7 +41,7 @@ fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
|
|||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# You can also set it to another string to have that shown instead of the default red dots.
|
||||
|
@ -73,11 +70,9 @@ ENABLE_CORRECTION="true"
|
|||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-completions ubuntu themes vscode hacker-quotes you-should-use git-open)
|
||||
plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-completions)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source ~/antigen.zsh
|
||||
source /usr/share/doc/find-the-command/ftc.zsh
|
||||
|
||||
# User configuration
|
||||
|
||||
|
@ -96,6 +91,14 @@ source /usr/share/doc/find-the-command/ftc.zsh
|
|||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
|
@ -136,7 +139,10 @@ export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
|||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/bravo68web/.local/share/pnpm"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
# pnpm end
|
||||
|
||||
eval "$(mcfly init zsh)"
|
||||
|
@ -200,5 +206,32 @@ alias jctl="journalctl -p 3 -xb"
|
|||
# Recent installed packages
|
||||
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
|
||||
|
||||
# ifconfig
|
||||
alias ipconfig="ifconfig"
|
||||
|
||||
export PATH=$PATH:~/.cargo/bin/
|
||||
alias firefox='firedragon'
|
||||
|
||||
export PATH="$PATH:/home/bravo68web/.bin"
|
||||
source "/home/bravo68web/Projects/Misc/emsdk/emsdk_env.sh"
|
||||
export GITLAB_HOST="https://git.b68.dev"
|
||||
|
||||
export JAVA_HOME=/usr/local/zing/
|
||||
export PATH=$PATH:/usr/local/sonar-scanner/bin
|
||||
export PATH=$PATH:$JAVA_HOME/bin
|
||||
export ANDROID_HOME=$HOME/Android/Sdk
|
||||
export PATH=$PATH:$ANDROID_HOME/emulator
|
||||
export PATH=$PATH:$ANDROID_HOME/platform-tools
|
||||
|
||||
export PATH="$PATH:/home/bravo68web/.bin"
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
source /etc/nhi/nhi.zsh
|
||||
|
||||
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
|
||||
|
||||
[ -f "/home/bravo68web/.ghcup/env" ] && source "/home/bravo68web/.ghcup/env" # ghcup-env
|
||||
# Turso
|
||||
export PATH="/home/bravo68web/.turso:$PATH"
|
||||
|
|
Loading…
Reference in New Issue