Skip to content

Commit 26c304f

Browse files
committed
bump
1 parent 67a6cba commit 26c304f

39 files changed

+1614
-0
lines changed

.zshrc_backup

+171
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
2+
# Initialization code that may require console input (password prompts, [y/n]
3+
# confirmations, etc.) must go above this block; everything else may go below.
4+
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
5+
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
6+
fi
7+
8+
# If you come from bash you might have to change your $PATH.
9+
# export PATH=$HOME/bin:/usr/local/bin:$PATH
10+
11+
# Path to your oh-my-zsh installation.
12+
export ZSH="/home/pcosta/.oh-my-zsh"
13+
export CHROME_EXECUTABLE="/bin/chromium"
14+
export GEM_EDITOR="nvim"
15+
export EDITOR="/usr/bin/nvim"
16+
export BROWSER="/usr/bin/firefox"
17+
export ERL_AFLAGS="-kernel shell_history enabled"
18+
19+
# Set name of the theme to load --- if set to "random", it will
20+
# load a random theme each time oh-my-zsh is loaded, in which case,
21+
# to know which specific one was loaded, run: echo $RANDOM_THEME
22+
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
23+
#ZSH_THEME="robbyrussell"
24+
ZSH_THEME="powerlevel10k/powerlevel10k"
25+
POWERLEVEL9K_MODE="nerdfont-complete"
26+
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir rbenv vcs)
27+
28+
# Set list of themes to pick from when loading at random
29+
# Setting this variable when ZSH_THEME=random will cause zsh to load
30+
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
31+
# If set to an empty array, this variable will have no effect.
32+
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
33+
34+
# Uncomment the following line to use case-sensitive completion.
35+
# CASE_SENSITIVE="true"
36+
37+
# Uncomment the following line to use hyphen-insensitive completion.
38+
# Case-sensitive completion must be off. _ and - will be interchangeable.
39+
# HYPHEN_INSENSITIVE="true"
40+
41+
# Uncomment the following line to disable bi-weekly auto-update checks.
42+
# DISABLE_AUTO_UPDATE="true"
43+
44+
# Uncomment the following line to automatically update without prompting.
45+
# DISABLE_UPDATE_PROMPT="true"
46+
47+
# Uncomment the following line to change how often to auto-update (in days).
48+
# export UPDATE_ZSH_DAYS=13
49+
50+
# Uncomment the following line if pasting URLs and other text is messed up.
51+
# DISABLE_MAGIC_FUNCTIONS=true
52+
53+
# Uncomment the following line to disable colors in ls.
54+
# DISABLE_LS_COLORS="true"
55+
56+
# Uncomment the following line to disable auto-setting terminal title.
57+
# DISABLE_AUTO_TITLE="true"
58+
59+
# Uncomment the following line to enable command auto-correction.
60+
# ENABLE_CORRECTION="true"
61+
62+
# Uncomment the following line to display red dots whilst waiting for completion.
63+
# COMPLETION_WAITING_DOTS="true"
64+
65+
# Uncomment the following line if you want to disable marking untracked files
66+
# under VCS as dirty. This makes repository status check for large repositories
67+
# much, much faster.
68+
# DISABLE_UNTRACKED_FILES_DIRTY="true"
69+
70+
# Uncomment the following line if you want to change the command execution time
71+
# stamp shown in the history command output.
72+
# You can set one of the optional three formats:
73+
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
74+
# or set a custom format using the strftime function format specifications,
75+
# see 'man strftime' for details.
76+
# HIST_STAMPS="mm/dd/yyyy"
77+
78+
# Would you like to use another custom folder than $ZSH/custom?
79+
# ZSH_CUSTOM=/path/to/new-custom-folder
80+
81+
# Which plugins would you like to load?
82+
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
83+
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
84+
# Example format: plugins=(rails git textmate ruby lighthouse)
85+
# Add wisely, as too many plugins slow down shell startup.
86+
plugins=(
87+
asdf
88+
git
89+
colored-man-pages
90+
colorize
91+
zsh-autosuggestions
92+
zsh-syntax-highlighting
93+
)
94+
95+
source $ZSH/oh-my-zsh.sh
96+
97+
# User configuration
98+
99+
# export MANPATH="/usr/local/man:$MANPATH"
100+
101+
# You may need to manually set your language environment
102+
# export LANG=en_US.UTF-8
103+
104+
# Preferred editor for local and remote sessions
105+
# if [[ -n $SSH_CONNECTION ]]; then
106+
# export EDITOR='vim'
107+
# else
108+
# export EDITOR='mvim'
109+
# fi
110+
111+
# Compilation flags
112+
# export ARCHFLAGS="-arch x86_64"
113+
114+
# Set personal aliases, overriding those provided by oh-my-zsh libs,
115+
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
116+
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
117+
# For a full list of active aliases, run `alias`.
118+
#
119+
# Example aliases
120+
# alias zshconfig="mate ~/.zshrc"
121+
# alias ohmyzsh="mate ~/.oh-my-zsh"
122+
alias ga="git add"
123+
alias gc="git commit"
124+
alias gch="git checkout"
125+
alias gs="git status"
126+
alias ghc="stack ghc"
127+
alias ghci="stack ghci"
128+
alias p="sudo pacman"
129+
#alias spotify="flatpak run com.spotify.Client"
130+
alias vim="nvim"
131+
alias vi="nvim"
132+
alias wally="feh --bg-fill --randomize ~/.wallpaper/*"
133+
alias fly="/home/pcosta/.fly/bin/flyctl"
134+
#alias solargraph="/home/pcosta/.local/share/gem/ruby/3.0.0/bin/solargraph"
135+
136+
# This command fixes the mouse not initializing properly.
137+
# It can be detected that the mouse didn't initialize properly by running
138+
# sudo dmesg | grep -i error
139+
# Solution obtained from https://forum.manjaro.org/t/touchpad-sometimes-not-working/82296/9
140+
alias mousefix="sudo modprobe -r i2c_hid_acpi && sudo modprobe i2c_hid_acpi"
141+
142+
# Auto-run startx after logging
143+
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
144+
exec startx
145+
fi
146+
147+
#[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
148+
149+
#Color ls
150+
#source $(dirname $(gem which colorls))/tab_complete.sh
151+
#alias ls="colorls --sd -A"
152+
153+
path+=('/home/pcosta/.local/share/gem/ruby/3.1.0/bin')
154+
export PATH
155+
156+
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
157+
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
158+
if [ -e /home/pcosta/.nix-profile/etc/profile.d/nix.sh ]; then . /home/pcosta/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
159+
160+
. $HOME/.asdf/asdf.sh
161+
162+
. $HOME/.asdf/completions/asdf.bash
163+
164+
xset -b
165+
166+
eval "$(direnv hook zsh)"
167+
168+
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
169+
export PATH=$PATH:/home/pcosta/.spicetify
170+
171+
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"

0 commit comments

Comments
 (0)