-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sample-bashrc
executable file
·54 lines (50 loc) · 2 KB
/
.sample-bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
################################################################################
# Copyright 2012-2018 Mike Dreves
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at:
#
# http://opensource.org/licenses/eclipse-1.0.php
#
# By using this software in any fashion, you are agreeing to be bound
# by the terms of this license. You must not remove this notice, or any
# other, from this software. Unless required by applicable law or agreed
# to in writing, software distributed under the License is distributed
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied.
################################################################################
alias tmux='TERM=screen-256color-bce tmux -2' # enable 256 color support
...
if [ -f ~/.projux/.projuxrc ] ; then
export PROJUX_ALIASES=1
export DEFAULT_PROJECT_WINDOWS="\
vim::bash; stty -ixon \
build::bash; stty -ixon \
bash::bash; stty -ixon \
vim_2::bash; stty -ixon \
repl::scala"
export DEFAULT_PROJECT_EXCLUDE_FILTER="*tmp/*:*backup/*"
export DEFAULT_PROJECT_FORMAT_CMDS="\
c:cc:cpp:h::clang-format -i <targets> \
go::goimports -w <targets>"
export DEFAULT_PROJECT_LINT_CMDS="\
py::pylint <targets> \
go::golint <targets>; govet <targets>"
export DEFAULT_PROJECT_COMPILE_CMDS="\
go::bazel build <args> \
scala::scalac <targets> \
java::javac <targets> \
cc::clang++ -std=c++11 -stdlib=libc++ -W <targets>"
export DEFAULT_PROJECT_TEST_CMDS="\
go::bazel test <args> \
scala::sbt test <targets>"
export DEFAULT_PROJECT_CLEAN_CMDS="\
go::bazel clean\
scala::sbt clean"
export DEFAULT_PROJECT_PACKAGE_CMDS="sbt package"
export DEFAULT_PROJECT_GENDOCS_CMDS="sbt doc"
export DEFAULT_PROJECT_SHARE_DIR="~/Public"
export DEFAULT_BACKUP_DIR="~/Workspace/backups"
. ~/.projux/.projuxrc
fi