Skip to content

Commit 262d8c4

Browse files
committed
vim as $EDITOR
1 parent 514d264 commit 262d8c4

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.ddev/addon-metadata/pimp-my-shell/manifest.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: pimp-my-shell
22
repository: .
33
version: ""
4-
install_date: "2024-03-25T19:04:39-03:00"
4+
install_date: "2024-03-26T19:27:47-03:00"
55
project_files:
66
- web-build/Dockerfile.pimp-my-shell
77
- homeadditions/.bashrc.d/pimp-my-shell.sh
88
- config.pimp-my-shell.yaml
99
- commands/web/ahoy
10+
- commands/web/gum
1011
- homeadditions/.local/share/bash-completion/completions/ahoy
1112
- homeadditions/.config/starship.toml
1213
global_files: []

.ddev/commands/web/gum

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
#ddev-generated
4+
## Description: Run gum in the web container
5+
## Usage: gum
6+
## Example: "ddev gum"
7+
## ExecRaw: true
8+
## HostWorkingDir: true
9+
10+
gum "$@"

.ddev/homeadditions/.bashrc.d/pimp-my-shell.sh

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# This is so that child processes have appropriate access to this var
44
export SHELL
55

6+
# Default $EDITOR to vim
7+
export EDITOR=${DDEV_PIMP_MY_SHELL_EDITOR-/usr/bin/vim}
8+
69
# ahoy
710
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
811

homeadditions/.bashrc.d/pimp-my-shell.sh

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# This is so that child processes have appropriate access to this var
44
export SHELL
55

6+
# Default $EDITOR to vim
7+
export EDITOR=${DDEV_PIMP_MY_SHELL_EDITOR-/usr/bin/vim}
8+
69
# ahoy
710
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
811

0 commit comments

Comments
 (0)