Compare commits

...

2 Commits

Author SHA1 Message Date
David Morgan 981174ea92
Change .. function to ... and add .. alias 2024-03-28 11:57:41 +00:00
David Morgan 6acd971d32
Add docker-credential-helpers 2024-03-28 11:56:27 +00:00
2 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@
home.packages = with pkgs; [
docker
docker-compose
docker-credential-helpers
ffmpeg
gopass-jsonapi
mpv

View File

@ -171,7 +171,10 @@ in
[[ -n "$files" ]] && ''${EDITOR:-vim} "''${files[@]}"
}
..() {
# TODO is there a way to do this in shellAliases
alias ..="cd .."
...() {
local declare dirs=()
get_parent_dirs() {
if [[ -d "''${1}" ]]; then dirs+=("$1"); else return; fi