start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |
// create file: | |
sudo vim /usr/share/applications/intellij.desktop | |
// add the following | |
[Desktop Entry] | |
Version=13.0 | |
Type=Application | |
Terminal=false | |
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png | |
Name[en_US]=IntelliJ |
set-option [-agoqsuw] [-t target-session | target-window] option value | |
buffer-limit number | |
escape-time time | |
exit-unattached [on | off] | |
quiet [on | off] | |
set-clipboard [on | off] | |
Available session options are: | |
assume-paste-time milliseconds | |
base-index index | |
bell-action [any | none | current] |
## Lenguaje Go | |
set --export GOROOT /usr/local/go | |
set -gx PATH /usr/local/go/bin $PATH | |
#set -gx PATH GOROOT/bin $PATH | |
set --export GOPATH $HOME/GoProjects | |
set -gx PATH $GOPATH/bin $PATH | |
## AppEngine para GO | |
set -gx PATH $HOME/programs/go_appengine $PATH |
@Document(indexName = "entity") | |
@Setting(settingPath = "/config/elasticsearch/setting/autocomplete.json") | |
public class Entity implements Serializable { | |
@Column(name = "name") | |
@MultiField( | |
mainField = @Field(type = FieldType.String), | |
otherFields = { | |
@NestedField( |
ZSH_THEME="powerlevel9k/powerlevel9k" | |
########## | |
# CONFIG POWERLEVEL | |
########## | |
POWERLEVEL9K_MODE='awesome-patched' | |
POWERLEVEL9K_VCS_GIT_GITHUB_ICON='\uE1AA' |