Compare commits
10 Commits
e076cbd0f3
...
dd32ba355e
| Author | SHA1 | Date | |
|---|---|---|---|
| dd32ba355e | |||
| 98e2ecaa5c | |||
| fccf1bf35b | |||
| 9a7cafbcf7 | |||
| 6986c543ff | |||
| f92999c1a0 | |||
| 73afacea31 | |||
| 178fb79a4e | |||
| 594fe0dbef | |||
| c03cd09717 |
@@ -3,6 +3,8 @@
|
|||||||
export MC_SKIN=$HOME/.config/mc/skins/solarized.ini
|
export MC_SKIN=$HOME/.config/mc/skins/solarized.ini
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
|
||||||
|
cd /opt/homebrew/bin
|
||||||
|
|
||||||
[[ -f "$HOME/.dotfiles/aliases" ]] && source "$HOME/.dotfiles/aliases"
|
[[ -f "$HOME/.dotfiles/aliases" ]] && source "$HOME/.dotfiles/aliases"
|
||||||
[[ -f "$HOME/.iterm2_shell_integration.zsh" ]] && source "$HOME/.iterm2_shell_integration.zsh"
|
[[ -f "$HOME/.iterm2_shell_integration.zsh" ]] && source "$HOME/.iterm2_shell_integration.zsh"
|
||||||
|
|
||||||
@@ -16,3 +18,5 @@ fi
|
|||||||
[[ -f "$HOME/.commonrc.local" ]] && source "$HOME/.commonrc.local"
|
[[ -f "$HOME/.commonrc.local" ]] && source "$HOME/.commonrc.local"
|
||||||
|
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
|
||||||
|
cd ~
|
||||||
|
|||||||
133
.tigrc
Normal file
133
.tigrc
Normal file
@@ -0,0 +1,133 @@
|
|||||||
|
[tig]
|
||||||
|
# === General ===
|
||||||
|
# Appearance
|
||||||
|
|
||||||
|
set main-view = id date author commit-title:graph=yes,refs=yes
|
||||||
|
set blame-view = date:default author:email-user id:yes,color line-number:yes,interval=1 text
|
||||||
|
set diff-options = -m --first-parent
|
||||||
|
|
||||||
|
# Refresh timing
|
||||||
|
set refresh-mode = periodic
|
||||||
|
set refresh-interval = 5
|
||||||
|
|
||||||
|
# Search
|
||||||
|
set ignore-case = true
|
||||||
|
|
||||||
|
# === Controls ===
|
||||||
|
# # Branch view
|
||||||
|
bind generic b view-refs
|
||||||
|
#
|
||||||
|
# # Blame view
|
||||||
|
bind generic <Esc>b view-blame
|
||||||
|
#
|
||||||
|
# # Cursor
|
||||||
|
# bind generic J move-page-down
|
||||||
|
# bind generic K move-page-up
|
||||||
|
#
|
||||||
|
# # Copy commit id
|
||||||
|
# bind generic ` @bash -c "echo -n '%(commit)' | pbcopy"
|
||||||
|
#
|
||||||
|
# # Quit tig
|
||||||
|
# bind generic <Esc><Enter> quit
|
||||||
|
|
||||||
|
# === Commands ===
|
||||||
|
# # Commit
|
||||||
|
bind generic C !git commit
|
||||||
|
bind refs C !git commit
|
||||||
|
bind main C !git commit
|
||||||
|
# bind generic <Esc>u !git add -p %(file)
|
||||||
|
# bind generic <Esc>e !git commit --allow-empty
|
||||||
|
# bind generic + !git commit --amend --allow-empty
|
||||||
|
|
||||||
|
# Push
|
||||||
|
bind generic P ?git push -u %(remote) %(repo:head)
|
||||||
|
bind generic <Esc>p ?git push -u -f %(remote) %(repo:head)
|
||||||
|
|
||||||
|
# Pull
|
||||||
|
# bind generic U ?git pull %(remote)
|
||||||
|
#
|
||||||
|
# # Fetch
|
||||||
|
# bind generic F ?git fetch %(remote)
|
||||||
|
# bind main F ?git fetch %(remote)
|
||||||
|
#
|
||||||
|
# # Reflog
|
||||||
|
# bind generic L !sh -c "git reflog --pretty=raw | tig --pretty=raw"
|
||||||
|
# bind generic _ ?git reset --hard HEAD@{"%(prompt Enter HEAD@{} number: )"}
|
||||||
|
#
|
||||||
|
# # Reset --hard
|
||||||
|
# bind main H ?git reset --hard %(commit)
|
||||||
|
# bind refs H ?git reset --hard %(commit)
|
||||||
|
# bind status H ?git checkout -- %(file)
|
||||||
|
#
|
||||||
|
# # Checkout(move) to branch
|
||||||
|
# bind main = ?git checkout %(branch)
|
||||||
|
# bind refs = ?git checkout %(branch)
|
||||||
|
# # 前に使用していたブランチへ戻る
|
||||||
|
# bind generic <Esc>= ?git checkout -
|
||||||
|
#
|
||||||
|
# # Merge
|
||||||
|
# bind main M ?git merge %(branch)
|
||||||
|
# bind diff M ?git merge %(branch)
|
||||||
|
# bind refs M ?git merge %(branch)
|
||||||
|
# bind main <Esc>m ?git merge %(commit)
|
||||||
|
# bind diff <Esc>m ?git merge %(commit)
|
||||||
|
#
|
||||||
|
# # Rebase
|
||||||
|
# bind main R ?git rebase %(branch)
|
||||||
|
# bind diff R ?git rebase %(branch)
|
||||||
|
# bind refs R ?git rebase %(branch)
|
||||||
|
# bind main <Esc>r ?git rebase %(commit)
|
||||||
|
# bind diff <Esc>r ?git rebase %(commit)
|
||||||
|
#
|
||||||
|
# # Rebase -i
|
||||||
|
# bind main <Esc>i ?git rebase -i %(branch)
|
||||||
|
# bind diff <Esc>i ?git rebase -i %(branch)
|
||||||
|
# bind refs <Esc>i ?git rebase -i %(branch)
|
||||||
|
# bind main i ?git rebase -i %(commit)
|
||||||
|
# bind diff i ?git rebase -i %(commit)
|
||||||
|
#
|
||||||
|
# # Rebase options
|
||||||
|
# bind generic <Esc>y ?git rebase --continue
|
||||||
|
# bind generic <Esc>c ?git rebase --abort
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # diff
|
||||||
|
# bind main D ?sh -c "git diff %(commit)..%(prompt Enter commit ID: ) | tig"
|
||||||
|
# bind diff D ?sh -c "git diff %(commit)..%(prompt Enter commit ID: ) | tig"
|
||||||
|
#
|
||||||
|
# # Remove branch
|
||||||
|
# bind refs D ?git branch -d %(branch)
|
||||||
|
# bind refs <Esc>D ?git branch -D %(branch)
|
||||||
|
#
|
||||||
|
# # Stash
|
||||||
|
# bind generic S !git stash
|
||||||
|
#
|
||||||
|
# # Revert
|
||||||
|
# bind main ! ?git revert %(commit)
|
||||||
|
#
|
||||||
|
# # Cherry-pick
|
||||||
|
# bind main <Esc>k ?git cherry-pick %(commit)
|
||||||
|
# bind diff <Esc>k ?git cherry-pick %(commit)
|
||||||
|
#
|
||||||
|
# # Create branch
|
||||||
|
# bind main B ?git checkout -b "%(prompt Enter branch name: )" %(branch)
|
||||||
|
# bind refs B ?git checkout -b "%(prompt Enter branch name: )" %(branch)
|
||||||
|
# bind main <Esc>b ?git checkout -b "%(prompt Enter branch name: )" %(commit)
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # === Github ===
|
||||||
|
# # Open to brouse
|
||||||
|
# bind main ; @hub browse -- commit/%(commit)
|
||||||
|
# bind blame ; @hub browse -- commit/%(commit)
|
||||||
|
# bind diff ; @hub browse -- commit/%(commit)
|
||||||
|
# bind tree ; @hub browse -- blob/%(branch)/%(file)
|
||||||
|
# bind blob ; @hub browse -- blob/%(branch)/%(file)
|
||||||
|
# bind grep ; @hub browse -- blob/%(branch)/%(file)
|
||||||
|
#
|
||||||
|
# # Pull request
|
||||||
|
# bind main w @hub browse -- compare/%(branch)?expand=1
|
||||||
|
# bind diff w @hub browse -- compare/%(branch)?expand=1
|
||||||
|
# bind refs w @hub browse -- compare/%(branch)?expand=1
|
||||||
|
#
|
||||||
|
# # === Theme ===
|
||||||
|
# # General colors
|
||||||
2
.wgetrc
2
.wgetrc
@@ -1,5 +1,5 @@
|
|||||||
# Use the server-provided last modification date, if available
|
# Use the server-provided last modification date, if available
|
||||||
imestamping = on
|
timestamping = on
|
||||||
|
|
||||||
# Do not go up in the directory structure when downloading recursively
|
# Do not go up in the directory structure when downloading recursively
|
||||||
no_parent = on
|
no_parent = on
|
||||||
|
|||||||
14
.zshrc
14
.zshrc
@@ -18,7 +18,7 @@ ZSH_THEME="../../misc/Cobalt2-iterm/cobalt2"
|
|||||||
#DISABLE_AUTO_UPDATE="true"
|
#DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
# Uncomment the following line to change how often to auto-update (in days).
|
# Uncomment the following line to change how often to auto-update (in days).
|
||||||
# export UPDATE_ZSH_DAYS=13
|
export UPDATE_ZSH_DAYS=13
|
||||||
|
|
||||||
# Uncomment the following line to disable colors in ls.
|
# Uncomment the following line to disable colors in ls.
|
||||||
# DISABLE_LS_COLORS="true"
|
# DISABLE_LS_COLORS="true"
|
||||||
@@ -40,7 +40,7 @@ COMPLETION_WAITING_DOTS="true"
|
|||||||
# Uncomment the following line if you want to change the command execution time
|
# Uncomment the following line if you want to change the command execution time
|
||||||
# stamp shown in the history command output.
|
# stamp shown in the history command output.
|
||||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
# HIST_STAMPS="mm/dd/yyyy"
|
# HIST_STAMPS="dd.mm.yyyy"
|
||||||
|
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
@@ -83,6 +83,12 @@ test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell
|
|||||||
export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"
|
export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"
|
||||||
|
|
||||||
# tmux starten
|
# tmux starten
|
||||||
#if [ "$TMUX" = "" ]; then exec tmux; fi
|
if [ "$TMUX" = "" ]; then exec tmux; fi
|
||||||
#clear && udot
|
clear && udot
|
||||||
|
|
||||||
|
|
||||||
|
PATH="/Users/eragos/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||||
|
PERL5LIB="/Users/eragos/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
||||||
|
PERL_LOCAL_LIB_ROOT="/Users/eragos/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
||||||
|
PERL_MB_OPT="--install_base \"/Users/eragos/perl5\""; export PERL_MB_OPT;
|
||||||
|
PERL_MM_OPT="INSTALL_BASE=/Users/eragos/perl5"; export PERL_MM_OPT;
|
||||||
|
|||||||
2
aliases
2
aliases
@@ -34,4 +34,6 @@ alias ls='ls -Fh ${colorflag}'
|
|||||||
alias tmux='tmux -2'
|
alias tmux='tmux -2'
|
||||||
alias view='vim -p -R'
|
alias view='vim -p -R'
|
||||||
alias vp='vim -p'
|
alias vp='vim -p'
|
||||||
|
alias cat='bat'
|
||||||
|
|
||||||
|
alias tig='tig --all'
|
||||||
|
|||||||
12
default.css
Normal file
12
default.css
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
/* Safari CSS */
|
||||||
|
|
||||||
|
|
||||||
|
/* https://github.com/Born2Root/Fast-Font */
|
||||||
|
@font-face {
|
||||||
|
font-family: FastFont;
|
||||||
|
src: url(~/.dotfiles/font/Fast_Sans.ttf);
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: FastFont !important;
|
||||||
|
}
|
||||||
BIN
font/Fast_Sans.ttf
Normal file
BIN
font/Fast_Sans.ttf
Normal file
Binary file not shown.
BIN
font/Fast_Sans_Dotted.ttf
Normal file
BIN
font/Fast_Sans_Dotted.ttf
Normal file
Binary file not shown.
BIN
font/Fast_Serif.ttf
Normal file
BIN
font/Fast_Serif.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user