-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_aliases
More file actions
57 lines (36 loc) · 1.35 KB
/
.bash_aliases
File metadata and controls
57 lines (36 loc) · 1.35 KB
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
# List of custom bash commands
# ---- General purpose ----
# Meta: Show this config file.
alias what="cat ~/.bash_aliases"
# A detailed list of files.
alias listpls="ls -liaQ"
# Hibernate the machine.
alias hibernate="sudo pm-hibernate"
alias hybernate="sudo pm-hibernate"
# Edit custon aliases in Nano
alias editcommands="nano ~/.bash_aliases"
# Source bash_profile config so that is works after the modifications.
# alias initbprof="source ~/.bash_profile"
# ---- GREEN FOX ACADEMY ----
# ======= NAVIGATION =======
# Must update dayly-weekly
# ==========================
# Jump to current day's GIT repo folder.
alias today="cd ~/GreenFox/GergoV/week-02/wikipedia-page/"
# Jump to current week's GIT repo folder.
alias project="cd ~/GreenFox/GergoV/week-02/project"
# Jump to Green Fox personal GIT folder root. Useful before git adding all.
alias gitroot="cd ~/GreenFox/GergoV/"
# ---- For GitHub ----
# Finds GIT repo directories home folderwide.
alias gitwhere="find ~ -type d -name .git"
# List of modified GIT files, ignoring files not tracked in the repository.
alias gitwhatt="git status -uno"
# Normal git status.
alias gitwhat="git status"
# --- CAVINTON ---
# Because I forget the most useful bash commands:
# Edit reminder of favorite commands:
alias cavintadd="nano .cavinton"
# LIST reminder of favorite commands:
alias cavinton="cat .cavinton"