-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhandy-bash.bash
76 lines (56 loc) · 2.02 KB
/
handy-bash.bash
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# Copyright (c) 2020. Robert LaMarca
# All files released under the GPL-2.0 License ( see LICENSE.txt )
# except where otherwise noted in their comments.
# Files released in this repository are not to be considered as a project, but merely
# a collection of files that may be used in their entirety or partially.
# handy-bash.bash file is released as an example code file
# and has no official license but is free for anyone to use
#
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
### How to use:
# DO NOT SIMPLY CUT AND PASTE FROM THIS PAGE INTO YOUR BASH PROFILE!!!
# Everything on this page references other files in this project
# You can either:
# go to the files referenced here and copy and paste their
# contents into your bash profile
# OR
# 1: clone this repo onto your system,
# 2: comment out the source commands of things you do not want in this file.
# 3: in your actual bash profile place the following line
# source [path-to-this-folder]/handy-bash.bash
#### YOU MUST CHANGE THIS TO THE PATH WHERE YOU PUT THE handy-bash repo
#### YOU MUST CHANGE THIS TO THE PATH WHERE YOU PUT THE handy-bash repo
#### YOU MUST CHANGE THIS TO THE PATH WHERE YOU PUT THE handy-bash repo
#### YOU MUST CHANGE THIS TO THE PATH WHERE YOU PUT THE handy-bash repo
CWD="$HOME/handy-bash"
### lines below this for all devs
## ls command enhancements
source "$CWD/handy-ls.bash"
## GIT
source "$CWD/.git-completion.bash"
source "$CWD/handy-git.bash"
### lines above for all devs
### lines below for .js devs
## npm completion
source "$CWD/handy-npm.bash"
## nvm
source "$CWD/handy-nvm.bash"
## yarn completion
source "$CWD/handy-yarn.bash"
### lines above for .js devs
source "$CWD/dart/handy-dart.bash"
## dotnet
source "$CWD/handy-dotnet.bash"
## PYTHON
source "$CWD/handy-python.bash"
## Android
source "$CWD/handy-android.bash"
## Docker
source "$CWD/handy-docker.bash"
## XCode
source "$CWD/handy-xcode.bash"
## other
# go to the drives folder
alias _="cd /Volumes"
alias _idea="~/handy-bash/handy-intellij.bash"