Skip to content

Commit

Permalink
[Add] ion setting
Browse files Browse the repository at this point in the history
  • Loading branch information
slme9364 committed Apr 8, 2018
1 parent 275b63a commit 2034d0c
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ vimrc is wriiten about vim setting and plugin.
## tmux
tmux include tmux.conf.

## ion
ion include my initsrc.

# Usage
I still haven't finished a install program preparations.
If I can prepare a install program, I write here.
Expand Down
58 changes: 58 additions & 0 deletions ion/initrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Plugin available
let NS_PLUGINS = 1

# Enviroment variable
export LANG=ja_JP.UTF-8
export PATH=$HOME/go/bin:/home/linuxbrew/.linuxbrew/bin:$HOME/.cargo/bin:$HOME/.zplug/bin:$HOME/bin:$HOME/.rbenv/bin:$HOME/.local/bin:$PATH
export GOPATH=$HOME/go

# Prompt Configuration
fn PROMPT
echo -n "${c::0x55,bold}[${USER}]${c::default} ${c::0x4B}${SWD}${c::default}"
if exists -d .git
if not is ${git::modified_count} 0
echo -n "${c::0x55,bold}"
end
echo -n "(git)[${git::branch}]"
end
echo ${c::reset}
echo -n "(*'-') <"
end

# Command not found handler
fn COMMAND_NOT_FOUND str
echo "(*'-')< $str なんてコマンドはないわ"
end

# When execute cd, called this method
fn CD_CHANGE
ls
end

# alias
alias ls='ls -F --color=auto'
alias rb='ruby'
alias dc='docker-compose'
alias ls='ls -F --color=auto'
alias la='ls -a'
alias ll='ls -l'
alias lal='ls -al'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias mkdir='mkdir -p'
alias sudo='sudo '
alias -g L='| less'
alias -g G='| grep'
alias t='type'
alias c='clear'
alias e='exit'
alias g='git'
alias d='docker'
alias pbcopy='xsel --input --clipboard'
alias pbpaste='xsel --output --clipboard'
alias g++='g++ -std=c++14 -pthread'
alias vi='/usr/bin/vim'
alias vim='nvim'

clear

0 comments on commit 2034d0c

Please sign in to comment.