Skip to content

Commit fe5e468

Browse files
harilvfsaayushrg7
andauthored
Config All Fixed (#8)
Co-authored-by: aayush <[email protected]>
1 parent 2348544 commit fe5e468

File tree

16 files changed

+10132
-152
lines changed

16 files changed

+10132
-152
lines changed

config/.bashrc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,6 @@ function whatsmyip () {
534534
curl -s ifconfig.me
535535
}
536536

537-
# View Apache logs
538537
apachelog() {
539538
if [ -f /etc/httpd/conf/httpd.conf ]; then
540539
cd /var/log/httpd && ls -xAh && multitail --no-repeat -c -s 2 /var/log/httpd/*_log
@@ -651,8 +650,13 @@ export PATH=$PATH:"$HOME/.local/bin:$HOME/.cargo/bin:/var/lib/flatpak/exports/bi
651650

652651
eval "$(starship init bash)"
653652
eval "$(zoxide init bash)"
654-
655-
nitch
653+
654+
if [ -z "$TMUX" ]; then
655+
tmux attach -d || tmux new
656+
fi
657+
658+
nerdfetch
656659

657660
alias termdown="termdown --title Countdown --time-format %H:%M:%S --text \"T i m e i s u p\""
658661

662+

config/.zshrc

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ alias pa='$aurhelper -Ss' # list available package
7171
alias pc='$aurhelper -Sc' # remove unused cache
7272
alias po='$aurhelper -Qtdq | $aurhelper -Rns -' # remove unused packages, also try > $aurhelper -Qqd | $aurhelper -Rsu --print -
7373
alias vc='code' # gui code editor
74-
alias vim='nvim'
74+
alias vim='nvim' # neovim
7575

7676
# Directory navigation shortcuts
7777
alias ..='cd ..'
@@ -80,16 +80,16 @@ alias .3='cd ../../..'
8080
alias .4='cd ../../../..'
8181
alias .5='cd ../../../../..'
8282

83-
# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
84-
alias mkdir='mkdir -p'
85-
8683
#Titus
8784
lazyg() {
8885
git add .
8986
git commit -m "$1"
9087
git push
9188
}
9289

90+
# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
91+
alias mkdir='mkdir -p'
92+
9393
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh
9494
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
9595

@@ -98,8 +98,13 @@ lazyg() {
9898

9999
eval "$(zoxide init zsh)"
100100

101-
nitch
102-
103101
if [ -z "$TMUX" ]; then
104102
tmux attach -d || tmux new
105103
fi
104+
105+
nerdfetch
106+
107+
export NVM_DIR="$HOME/.nvm"
108+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
109+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
110+

0 commit comments

Comments
 (0)