mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-12-22 16:26:32 +00:00
Merge branch 'main' of https://github.com/cupcakearmy/dotfiles
This commit is contained in:
commit
0cdc70403c
11
README.md
Normal file
11
README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# .files
|
||||||
|
|
||||||
|
Collection of dotfiles.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/cupcakearmy/dotfiles.git ~/.dotfiles
|
||||||
|
cd ~/.dotfiles
|
||||||
|
./install
|
||||||
|
```
|
@ -3,8 +3,14 @@ set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
|
|||||||
set -x PIPENV_VENV_IN_PROJECT true
|
set -x PIPENV_VENV_IN_PROJECT true
|
||||||
|
|
||||||
export GOPATH="$HOME/.go"
|
export GOPATH="$HOME/.go"
|
||||||
export GOROOT=(brew --prefix go)"/libexec"
|
if type -q $program
|
||||||
|
export GOROOT=(brew --prefix go)"/libexec"
|
||||||
|
end
|
||||||
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin:$HOME/.cargo/bin"
|
export PATH="$PATH:$GOPATH/bin:$GOROOT/bin:$HOME/.cargo/bin"
|
||||||
|
|
||||||
# The next line updates PATH for the Google Cloud SDK.
|
# The next line updates PATH for the Google Cloud SDK.
|
||||||
if [ -f '$HOME/Desktop/google-cloud-sdk/path.fish.inc' ]; . '$HOME/Desktop/google-cloud-sdk/path.fish.inc'; end
|
if [ -f '$HOME/Desktop/google-cloud-sdk/path.fish.inc' ]; . '$HOME/Desktop/google-cloud-sdk/path.fish.inc'; end
|
||||||
|
|
||||||
|
# tabtab source for packages
|
||||||
|
# uninstall by removing these lines
|
||||||
|
[ -f ~/.config/tabtab/fish/__tabtab.fish ]; and . ~/.config/tabtab/fish/__tabtab.fish; or true
|
||||||
|
4
files/tabtab/fish/__tabtab.fish
Normal file
4
files/tabtab/fish/__tabtab.fish
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
# tabtab source for pnpm package
|
||||||
|
# uninstall by removing these lines
|
||||||
|
[ -f ~/.config/tabtab/fish/pnpm.fish ]; and . ~/.config/tabtab/fish/pnpm.fish; or true
|
22
files/tabtab/fish/pnpm.fish
Normal file
22
files/tabtab/fish/pnpm.fish
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
###-begin-pnpm-completion-###
|
||||||
|
function _pnpm_completion
|
||||||
|
set cmd (commandline -o)
|
||||||
|
set cursor (commandline -C)
|
||||||
|
set words (count $cmd)
|
||||||
|
|
||||||
|
set completions (eval env DEBUG=\"" \"" COMP_CWORD=\""$words\"" COMP_LINE=\""$cmd \"" COMP_POINT=\""$cursor\"" pnpm completion -- $cmd)
|
||||||
|
|
||||||
|
if [ "$completions" = "__tabtab_complete_files__" ]
|
||||||
|
set -l matches (commandline -ct)*
|
||||||
|
if [ -n "$matches" ]
|
||||||
|
__fish_complete_path (commandline -ct)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
for completion in $completions
|
||||||
|
echo -e $completion
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
complete -f -d 'pnpm' -c pnpm -a "(_pnpm_completion)"
|
||||||
|
###-end-pnpm-completion-###
|
1
files/vim/.gitignore
vendored
1
files/vim/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
undodir
|
undodir
|
||||||
|
plugged
|
||||||
|
Loading…
Reference in New Issue
Block a user