Note: if you already have folder then delete it running rm -r /Users/rupeshti/.oh-my-zsh
Source: https://wiki.archlinux.org/index.php/PostgreSQL
-
Install postgresql package
sudo pacman -S postgresql
-
Switch to the postgres user account and initialize the database cluster:
sudo -iu postgres