Update
This commit is contained in:
parent
783636b4f7
commit
b22da1c1d7
4 changed files with 56 additions and 9 deletions
|
|
@ -16,12 +16,6 @@ alias dc="docker-compose"
|
||||||
|
|
||||||
PS1="\n\[\e[30;01m\](\[\e[31;01m\]\w\[\e[30;01m\])\[\e[30;1m\]\n\[\e[30;1m\](\[\e[34m\]\$(/bin/date +'%a %b %e %-I:%M:%S %Z %Y')\[\e[30;1m\])\n\[\e[30;1m\](\[\e[32;1m\]\u @ \h\[\e[30;1m\])-> \[\e[0m\]"
|
PS1="\n\[\e[30;01m\](\[\e[31;01m\]\w\[\e[30;01m\])\[\e[30;1m\]\n\[\e[30;1m\](\[\e[34m\]\$(/bin/date +'%a %b %e %-I:%M:%S %Z %Y')\[\e[30;1m\])\n\[\e[30;1m\](\[\e[32;1m\]\u @ \h\[\e[30;1m\])-> \[\e[0m\]"
|
||||||
|
|
||||||
export LANG=en_US.UTF-8
|
|
||||||
|
|
||||||
alias grep="grep --color"
|
|
||||||
|
|
||||||
alias openurl="x-www-browser"
|
|
||||||
|
|
||||||
# Use bash-completion, if available
|
# Use bash-completion, if available
|
||||||
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
||||||
. /usr/share/bash-completion/bash_completion
|
. /usr/share/bash-completion/bash_completion
|
||||||
|
|
|
||||||
|
|
@ -441,5 +441,6 @@ set noshowmode
|
||||||
au User asyncomplete_setup call asyncomplete#register_source({
|
au User asyncomplete_setup call asyncomplete#register_source({
|
||||||
\ 'name': 'nim',
|
\ 'name': 'nim',
|
||||||
\ 'whitelist': ['nim'],
|
\ 'whitelist': ['nim'],
|
||||||
|
\ 'triggers': {'*': ['.'] },
|
||||||
\ 'completor': {opt, ctx -> nim#suggest#sug#GetAllCandidates({start, candidates -> asyncomplete#complete(opt['name'], ctx, start, candidates)})}
|
\ 'completor': {opt, ctx -> nim#suggest#sug#GetAllCandidates({start, candidates -> asyncomplete#complete(opt['name'], ctx, start, candidates)})}
|
||||||
\ })
|
\ })
|
||||||
|
|
|
||||||
55
.profile
55
.profile
|
|
@ -8,6 +8,59 @@
|
||||||
# for ssh logins, install and configure the libpam-umask package.
|
# for ssh logins, install and configure the libpam-umask package.
|
||||||
#umask 022
|
#umask 022
|
||||||
|
|
||||||
|
export PATH=/usr/lib/dart/bin:$HOME/.local/bin:/snap/bin:/usr/local/gradle/gradle-4.6/bin:/usr/local/kotlinc/bin:/usr/local/android-studio/bin:$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/sbin:/local/bin:/usr/local/bin:/sbin:/usr/games:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk
|
||||||
|
export PATH=$PATH:$HOME/.cargo/bin:$HOME/yuzu/:$HOME/.nimble/bin:$HOME/nimlibs
|
||||||
|
export PATH=$PATH:$HOME/gcclibs/aarch64-linux-gnu/bin:$HOME/gcclibs/arm-linux-gnueabi/bin
|
||||||
|
export PATH=$HOME/android-studio/bin:$HOME/.pub-cache/bin:$HOME/flutter/bin:$PATH
|
||||||
|
export LD_LIBRARY_PATH=$HOME/Qt/5.12.0/gcc_64/lib:$LD_LIBRARY_PATH
|
||||||
|
export GOROOT=/usr/local/go
|
||||||
|
export GOBIN=$GOROOT/bin
|
||||||
|
export ANDROID_HOME=$HOME/Android/Sdk
|
||||||
|
export PATH=$PATH:/usr/local/go/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
|
||||||
|
export DEVKITPRO=/opt/devkitpro
|
||||||
|
export DEVKITARM=${DEVKITPRO}/devkitARM
|
||||||
|
export DEVKITA64=${DEVKITPRO}/devkitA64
|
||||||
|
export PATH=$PATH:$DEVKITA64/bin:$DEVKITPRO/tools/bin
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/default-java
|
||||||
|
export PATH=$HOME/.opam/4.05.0/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:$PATH
|
||||||
|
export LD_LIBRARY_PATH="$HOME/Qt/5.12.0/gcc_64/lib:/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu"
|
||||||
|
export LFS=/mnt/lfs
|
||||||
|
export GODOT_BIN="$HOME/Godot/godot.x11.opt.tools.64"
|
||||||
|
export PYTHONSTARTUP="$HOME/.pythonstartup"
|
||||||
|
export ANT_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
||||||
|
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
||||||
|
# User specific aliases and functions:
|
||||||
|
# alias vim="/usr/bin/vim.gtk"
|
||||||
|
alias ls="ls -h --color=auto"
|
||||||
|
export CC=gcc
|
||||||
|
export CXX=g++
|
||||||
|
alias nv="nvim"
|
||||||
|
alias sudo="sudo "
|
||||||
|
alias vim="nvim"
|
||||||
|
alias did="vim +'normal Go' +'r!date' ~/Documents/did.txt"
|
||||||
|
|
||||||
|
alias lcat='pygmentize -g -O style=colorful,linenos=1 | grep -P "^\d\d\d\d:"'
|
||||||
|
alias ccat='pygmentize -g'
|
||||||
|
alias hcat='highlight -n -O ansi --force'
|
||||||
|
alias tcat='highlight -O ansi --force'
|
||||||
|
|
||||||
|
alias dc="docker-compose"
|
||||||
|
|
||||||
|
export WINEPREFIX=~/.WineItunes
|
||||||
|
export WINEARCH=win32
|
||||||
|
export PATH=~/.npm-global/bin:$PATH
|
||||||
|
export GTK_IM_MODULE=fcitx
|
||||||
|
export XMODIFIERS=@im=fcitx
|
||||||
|
export QT_IM_MODULE=fcitx
|
||||||
|
|
||||||
|
PS1="\n\[\e[30;01m\](\[\e[31;01m\]\w\[\e[30;01m\])\[\e[30;1m\]\n\[\e[30;1m\](\[\e[34m\]\$(/bin/date +'%a %b %e %-I:%M:%S %Z %Y')\[\e[30;1m\])\n\[\e[30;1m\](\[\e[32;1m\]\u @ \h\[\e[30;1m\])-> \[\e[0m\]"
|
||||||
|
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
alias grep="grep --color"
|
||||||
|
|
||||||
|
alias openurl="x-www-browser"
|
||||||
|
|
||||||
# if running bash
|
# if running bash
|
||||||
if [ -n "$BASH_VERSION" ]; then
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
# include .bashrc if it exists
|
# include .bashrc if it exists
|
||||||
|
|
@ -54,4 +107,4 @@ export WINEARCH=win32
|
||||||
export GTK_IM_MODULE=fcitx
|
export GTK_IM_MODULE=fcitx
|
||||||
export XMODIFIERS=@im=fcitx
|
export XMODIFIERS=@im=fcitx
|
||||||
export QT_IM_MODULE=fcitx
|
export QT_IM_MODULE=fcitx
|
||||||
|
export PATH="/home/joey/Nim/bin:$HOME/.cargo/bin:$PATH"
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
# Add truecolor support
|
# Add truecolor support
|
||||||
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
# Default terminal is 256 colors
|
# Default terminal is 256 colors
|
||||||
set -g default-terminal "screen-256color"
|
|
||||||
|
|
||||||
set -g default-terminal "screen-256color" # colors!
|
set -g default-terminal "screen-256color" # colors!
|
||||||
setw -g xterm-keys on
|
setw -g xterm-keys on
|
||||||
|
|
@ -25,7 +24,7 @@ bind C-a send-prefix -2
|
||||||
set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2)
|
set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2)
|
||||||
setw -q -g utf8 on
|
setw -q -g utf8 on
|
||||||
|
|
||||||
set -g history-limit 5000 # boost history
|
set -g history-limit 10000 # boost history
|
||||||
|
|
||||||
# edit configuration
|
# edit configuration
|
||||||
bind e new-window -n '~/.tmux.conf.local' "sh -c '\${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"'"
|
bind e new-window -n '~/.tmux.conf.local' "sh -c '\${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue