Last active
August 6, 2020 06:20
-
-
Save antoniogamiz/b22eb420f26a841acd03621d1e877327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zsh | |
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="robbyrussell" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# NVM | |
export NVM_DIR="$HOME/.nvm" | |
[ -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_completion | |
# Raku | |
export PATH=/home/antonio/.rakudobrew/bin:$PATH | |
rakudobrew() { | |
command rakudobrew internal_hooked "$@" && | |
eval "`command rakudobrew internal_shell_hook Zsh post_call_eval "$@"`" | |
} | |
compctl -K _rakudobrew_completions -x 'p[2] w[1,register]' -/ -- rakudobrew | |
_rakudobrew_completions() { | |
local WORDS POS RESULT | |
read -cA WORDS | |
read -cn POS | |
reply=($(command rakudobrew internal_shell_hook Zsh completions $POS $WORDS)) | |
} | |
eval "$(/home/antonio/.rakudobrew/bin/rakudobrew init Zsh)" | |
fpath=(~/.zsh/completions $fpath) | |
autoload -U compinit && compinit | |
# Latex | |
cp -a ~/texmf/tex/latex/personalcommands.sty ~/code/cuarto-segundo-cuatrimestre/sty/ | |
# Changelog generator | |
export CHANGELOG_GITHUB_TOKEN="" | |
# pushd -> https://dev.to/jimmymcbride/bash-how-to-teleport-in-the-terminal-1e09 | |
alias ddocumentable="pushd ~/raku/Documentable" | |
alias x="clear && ls" | |
alias ..="cd .. && clear && ls" | |
alias ...="cd ../.. && clear && ls" | |
alias ....="cd ../../.. && clear && ls" | |
alias .....="cd ../../../.. && clear && ls" | |
alias ctc="xclip -selection clipboard -i" | |
# screen configurations (arandr) | |
alias twomonitors="xrandr --output HDMI-1-2 --primary --mode 2560x1080 --pos 1920x0 --rotate normal --output eDP-1-1 --off --output HDMI-1-1 --off --output DP-1-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1-2 --off" | |
alias onemonitor="xrandr --output HDMI-1-2 --primary --mode 2560x1080 --pos 0x0 --rotate normal --output eDP-1-1 --off --output HDMI-1-1 --off --output DP-1-1 --off --output DP-1-2 --off" | |
# this line cannot me moved | |
source /home/antonio/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment