Skip to content

Commit d8d7f21

Browse files
committed
Add: aliases for oh-my-bash
Signed-off-by: Ali Mehraji <a.mehraji75@gmail.com>
1 parent 0f34610 commit d8d7f21

4 files changed

Lines changed: 17 additions & 1 deletion

File tree

.config/make/dotfiles.mak

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
OH_MY_BASH_THEMES_DIR := .oh-my-bash/custom/themes
44
OH_MY_BASH_COMPLETIONS_DIR := .oh-my-bash/custom/completions
5+
OH_MY_BASH_ALIASES_DIR := .oh-my-bash/custom/aliases
56

67
.PHONY: oh-my-bash
78
oh-my-bash: ## Install and Configure oh-my-bash, and links .bashrc
@@ -15,6 +16,7 @@ oh-my-bash: ## Install and Configure oh-my-bash, and links .bashrc
1516

1617
ln -fs ${DOTFILES_DIR_PATH}/${OH_MY_BASH_THEMES_DIR} ~/${OH_MY_BASH_THEMES_DIR}
1718
ln -fs ${DOTFILES_DIR_PATH}/${OH_MY_BASH_COMPLETIONS_DIR} ~/${OH_MY_BASH_COMPLETIONS_DIR}
19+
ln -fs ${DOTFILES_DIR_PATH}/${OH_MY_BASH_ALIASES_DIR} ~/${OH_MY_BASH_ALIASES_DIR}
1820
ln -fs ${DOTFILES_DIR_PATH}/.bashrc ~/.bashrc
1921

2022
.PHONY: gnome-gtk

home/.config/Code/User/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@
6363
"gitlens.currentLine.enabled": true,
6464
"gitlens.codeLens.enabled": false,
6565
"terminal.external.linuxExec": "/usr/bin/ptyxis",
66-
"terminal.integrated.suggest.enabled": false
66+
"terminal.integrated.suggest.enabled": false,
67+
"editor.minimap.enabled": false,
68+
"terminal.integrated.initialHint": false
6769
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Add your own custom alias in the custom/aliases directory. Aliases placed
2+
# here will override ones with the same name in the main alias directory.
3+
#
4+
# Usage:
5+
#
6+
# 1. use the exact naming schema like '<my_aliases>.aliases.sh' where the
7+
# filename needs to end with .aliases.sh (just <my_aliases>.sh does not
8+
# work)
9+
# 2. add the leading part of that filename ('<my_aliases>' in this example) to
10+
# the 'aliases' array in your ~/.bashrc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
alias bmbzr-openforti="sudo openfortivpn -c /etc/openfortivpn/bmbzr"
2+
alias bmbzr-openforti-sindad="sudo openfortivpn -c /etc/openfortivpn/bmbzr-sindad"

0 commit comments

Comments
 (0)